fix(lint): comment out npm install command in ESLint class
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
5a718aa45d
commit
b2eaf0481c
@ -22,7 +22,7 @@ class ESLint extends LinterBase {
|
||||
def doLint() {
|
||||
steps.dir(workspace) {
|
||||
steps.log.info("${linterType.linter}", "Install eslint dependencies...")
|
||||
steps.sh("npm install --save-dev ${deps.join(' ')}")
|
||||
// steps.sh("npm install --save-dev ${deps.join(' ')}")
|
||||
steps.log.info("${linterType.linter}", "Running eslint...")
|
||||
steps.sh("eslint --config ${configs} ${workspace}")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user