mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 14:25:49 +00:00
Bug 1767479 - Copy the staged node_modules for eslint-plugin-mozilla when running ESLint on CI to ensure the node task runs correctly. r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D145347
This commit is contained in:
parent
62572a8431
commit
aab0a0ff9c
@ -90,6 +90,7 @@ eslint:
|
||||
cwd: '{checkout}'
|
||||
command: >
|
||||
cp -r /build/node_modules_eslint node_modules &&
|
||||
cp -r /build/node_modules_eslint-plugin-mozilla/ tools/lint/eslint/eslint-plugin-mozilla/node_modules &&
|
||||
ln -s ../tools/lint/eslint/eslint-plugin-mozilla node_modules &&
|
||||
ln -s ../tools/lint/eslint/eslint-plugin-spidermonkey-js node_modules &&
|
||||
./mach lint -v -l eslint -f treeherder -f json:/builds/worker/mozlint.json *
|
||||
|
Loading…
x
Reference in New Issue
Block a user