Skip to content

Commit 641a748

Browse files
committed
Fix CI
1 parent ad7fb7b commit 641a748

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

ci/dev/lint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ main() {
1414

1515
cd lib/vscode
1616
# Run this periodically in vanilla VS code to make sure we don't add any more warnings.
17-
yarn eslint --max-warnings=3
17+
yarn -s eslint --max-warnings=3
1818
cd "$OLDPWD"
1919
}
2020

ci/dev/vscode.patch

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
diff --git a/.eslintignore b/.eslintignore
2+
index b2c4a5b6efa856968bbb62c56113004ddb3929e6..035aec8f6a8b0ea8fc6d3d836d160da54aac2fdb 100644
3+
--- a/.eslintignore
4+
+++ b/.eslintignore
5+
@@ -14,3 +14,5 @@
6+
**/extensions/**/build/**
7+
**/extensions/markdown-language-features/media/**
8+
**/extensions/typescript-basics/test/colorize-fixtures/**
9+
+# This is a code-server code symlink.
10+
+src/vs/base/node/proxy_agent.ts
111
diff --git a/.eslintrc.json b/.eslintrc.json
212
index 055bc22f8e48e7dee559b83ac56c12a54c6ad544..14c026c04a7df5ac94bea2856e3a7a513c213775 100644
313
--- a/.eslintrc.json

src/node/entry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import {
1717
} from "./cli"
1818
import { coderCloudBind } from "./coder_cloud"
1919
import { commit, version } from "./constants"
20+
import * as proxyAgent from "./proxy_agent"
2021
import { register } from "./routes"
2122
import { humanPath, isFile, open } from "./util"
2223
import { isChild, wrapper } from "./wrapper"
23-
import * as proxyAgent from "./proxy_agent"
2424

2525
export const runVsCodeCli = (args: DefaultedArgs): void => {
2626
logger.debug("forking vs code cli...")

src/node/proxy_agent.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { logger } from "@coder/logger"
2-
import * as proxyagent from "proxy-agent"
32
import * as http from "http"
3+
import * as proxyagent from "proxy-agent"
44

55
/**
66
* This file does not have anything to do with the code-server proxy.

0 commit comments

Comments
 (0)