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 d6aed8f commit 8f33f03Copy full SHA for 8f33f03
tools/spectral/ipa/metrics/metricCollection.js
@@ -9,6 +9,7 @@ import {
9
merge,
10
} from './utils.js';
11
import config from './config.js';
12
+import collector from './collector.js';
13
const { Spectral } = spectral;
14
15
async function runMetricCollectionJob(oasFilePath = config.defaultOasFilePath) {
@@ -28,6 +29,7 @@ async function runMetricCollectionJob(oasFilePath = config.defaultOasFilePath) {
28
29
30
console.log('Running Spectral analysis...');
31
const spectralResults = await spectral.run(oasContent);
32
+ collector.flushToFile();
33
34
console.log('Loading collector results...');
35
const collectorResults = loadCollectorResults(config.defaultCollectorResultsFilePath);
0 commit comments