Skip to content

Commit 7061654

Browse files
1 parent a09402b commit 7061654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/spectral/ipa/metrics/scripts/runMetricCollection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if (oasFilePath && !fs.existsSync(oasFilePath)) {
2828
process.exit(1);
2929
}
3030

31-
const result = spawnSync('spectral', [
31+
const result = spawnSync('npx spectral', [
3232
'lint',
3333
oasFilePath ? oasFilePath : config.defaultOasFilePath,
3434
'--ruleset',

0 commit comments

Comments
 (0)