We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a91cb50 commit a09402bCopy full SHA for a09402b
tools/spectral/ipa/metrics/scripts/runMetricCollection.js
@@ -23,6 +23,11 @@ if (!oasFilePath && !fs.existsSync(config.defaultOasFilePath)) {
23
process.exit(1);
24
}
25
26
+if (oasFilePath && !fs.existsSync(oasFilePath)) {
27
+ console.error('Could not find OAS file path', oasFilePath);
28
+ process.exit(1);
29
+}
30
+
31
const result = spawnSync('spectral', [
32
'lint',
33
oasFilePath ? oasFilePath : config.defaultOasFilePath,
0 commit comments