Skip to content

Commit 2e1219b

Browse files
committed
Fix linting in ci
1 parent ffc0900 commit 2e1219b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pipeline {
7676
sh "yarn install"
7777
script {
7878
// Fail the step if there are uncommited changes to the yarn.lock file
79-
if (sh(returnStatus: true, script: 'git diff --name-only | grep -q "^client/yarn.lock"') == 0) {
79+
if (sh(returnStatus: true, script: 'git diff --name-only | grep -q "^yarn.lock"') == 0) {
8080
echo 'The yarn.lock file has uncommited changes!'
8181
error 'The yarn.lock file has uncommited changes!'
8282
}
@@ -127,7 +127,7 @@ pipeline {
127127

128128
// Record & publish esLint issues
129129
recordIssues enabledForFailure: true, publishAllIssues: true, aggregatingResults: true,
130-
tools: [esLint(pattern: 'client/node_modules/**/*/eslint.xml')],
130+
tools: [esLint(pattern: 'client/eslint.xml')],
131131
qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]]
132132
}
133133
}

0 commit comments

Comments
 (0)