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 881aff4 commit ed9ce6fCopy full SHA for ed9ce6f
index.js
@@ -35,7 +35,8 @@ try{
35
makeSureFoldersAreCreated(file);
36
fs.writeFileSync(file, JSON.stringify(data, null, 2));
37
console.log(`successfully saved data from ${url} to ${file}`);
38
- });
+ })
39
+ .catch(error => core.setFailed(error.message));
40
}catch(error){
41
core.setFailed(error.message);
42
}
0 commit comments