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 eb07474 commit 0fe772cCopy full SHA for 0fe772c
src/main.js
@@ -26,10 +26,15 @@ async function processOutputPath(output, configPath) {
26
if (configPath !== '' ) {
27
28
[config_type, content] = await fileAnalyzer(configPath, workspace);
29
- console.log(`Config type: ${config_type}`);
30
31
if (config_type !== '') {
32
resultsFileName = content["output-name"] || '';
+ if (resultsFileName !== '') {
33
+ // if the output file name does not have an extension, add .json
34
+ if (!resultsFileName.includes('.')) {
35
+ resultsFileName = resultsFileName + ".json";
36
+ }
37
38
}
39
40
0 commit comments