Address more PR comments, refactoring
This commit is contained in:
parent
44a27e6a51
commit
5895ab0c0b
9 changed files with 67 additions and 57 deletions
2
lib/analyze-action-post.js
generated
2
lib/analyze-action-post.js
generated
|
|
@ -32,7 +32,7 @@ async function run(uploadSarifDebugArtifact) {
|
|||
const logger = (0, logging_1.getActionsLogger)();
|
||||
const config = await (0, config_utils_1.getConfig)(actionsUtil.getTemporaryDirectory(), logger);
|
||||
if (config === undefined) {
|
||||
throw new Error("Config file could not be found at expected location. Has the 'init' action been called?");
|
||||
throw new Error("Config file could not be found at expected location. Did the 'init' action fail to start?");
|
||||
}
|
||||
// Upload Actions SARIF artifacts for debugging
|
||||
if (config === null || config === void 0 ? void 0 : config.debugMode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue