From 4cb8a32f4ca79d7a47be40131c7cddc3462933f4 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 27 Nov 2020 08:34:09 -0500 Subject: [PATCH] ci: Fetch vscode node_modules in lint.sh for eslint --- ci/steps/fmt.sh | 2 +- ci/steps/lint.sh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ci/steps/fmt.sh b/ci/steps/fmt.sh index 5e323596..7d6717f5 100755 --- a/ci/steps/fmt.sh +++ b/ci/steps/fmt.sh @@ -7,7 +7,7 @@ main() { yarn --frozen-lockfile git submodule update --init - # We do not `yarn vscode` to make test.sh faster. + # We do not `yarn vscode` to make fmt.sh faster. # If the patch fails to apply, then it's likely already applied yarn vscode:patch &> /dev/null || true diff --git a/ci/steps/lint.sh b/ci/steps/lint.sh index b493e160..671229f8 100755 --- a/ci/steps/lint.sh +++ b/ci/steps/lint.sh @@ -7,9 +7,8 @@ main() { yarn --frozen-lockfile git submodule update --init - # We do not `yarn vscode` to make test.sh faster. - # If the patch fails to apply, then it's likely already applied - yarn vscode:patch &> /dev/null || true + # We need to fetch VS Code's deps for lint dependencies. + yarn vscode yarn lint }