Skip to content

Commit 4e0a5e7

Browse files
committed
Run formatter
Some rules seem to have changed with the dependency updates.
1 parent 10e24ca commit 4e0a5e7

File tree

9 files changed

+24
-9
lines changed

9 files changed

+24
-9
lines changed

src/browser/pages/error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

src/browser/pages/global.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ button {
4646
.card-box {
4747
background-color: rgb(250, 253, 258);
4848
border-radius: 5px;
49-
box-shadow: rgba(60, 66, 87, 0.117647) 0px 7px 14px 0px, rgba(0, 0, 0, 0.117647) 0px 3px 6px 0px;
49+
box-shadow:
50+
rgba(60, 66, 87, 0.117647) 0px 7px 14px 0px,
51+
rgba(0, 0, 0, 0.117647) 0px 3px 6px 0px;
5052
max-width: 650px;
5153
width: 100%;
5254
}

src/browser/pages/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

src/common/http.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ export enum HttpCode {
1414
* used in the HTTP response.
1515
*/
1616
export class HttpError extends Error {
17-
public constructor(message: string, public readonly statusCode: HttpCode, public readonly details?: object) {
17+
public constructor(
18+
message: string,
19+
public readonly statusCode: HttpCode,
20+
public readonly details?: object,
21+
) {
1822
super(message)
1923
this.name = this.constructor.name
2024
}

src/node/heart.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ export class Heart {
99
private heartbeatInterval = 60000
1010
public lastHeartbeat = 0
1111

12-
public constructor(private readonly heartbeatPath: string, private readonly isActive: () => Promise<boolean>) {
12+
public constructor(
13+
private readonly heartbeatPath: string,
14+
private readonly isActive: () => Promise<boolean>,
15+
) {
1316
this.beat = this.beat.bind(this)
1417
this.alive = this.alive.bind(this)
1518
}

src/node/i18n/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import i18next, { init } from "i18next"
22
import * as en from "./locales/en.json"
3+
import * as ja from "./locales/ja.json"
34
import * as th from "./locales/th.json"
45
import * as zhCn from "./locales/zh-cn.json"
5-
import * as ja from "./locales/ja.json"
66
init({
77
lng: "en",
88
fallbackLng: "en", // language to use if translations in user language are not available.

src/node/wrapper.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ type ChildMessage = RelaunchMessage | ChildHandshakeMessage
7878
type ParentMessage = ParentHandshakeMessage
7979

8080
class ProcessError extends Error {
81-
public constructor(message: string, public readonly code: number | undefined) {
81+
public constructor(
82+
message: string,
83+
public readonly code: number | undefined,
84+
) {
8285
super(message)
8386
this.name = this.constructor.name
8487
Error.captureStackTrace(this, this.constructor)

test/e2e/models/CodeServer.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,10 @@ export class CodeServer {
269269
export class CodeServerPage {
270270
private readonly editorSelector = "div.monaco-workbench"
271271

272-
constructor(private readonly codeServer: CodeServer, public readonly page: Page) {
272+
constructor(
273+
private readonly codeServer: CodeServer,
274+
public readonly page: Page,
275+
) {
273276
this.page.on("console", (message) => {
274277
this.codeServer.logger.debug(message.text())
275278
})

test/unit/node/test-plugin/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

0 commit comments

Comments
 (0)