Refactoring: Simplify retrieving error message
This commit is contained in:
parent
bbd7c801a0
commit
dd7307d603
54 changed files with 106 additions and 89 deletions
2
lib/analyze-action-post.js
generated
2
lib/analyze-action-post.js
generated
|
|
@ -41,7 +41,7 @@ async function runWrapper() {
|
|||
}
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(`analyze post-action step failed: ${(0, util_1.wrapError)(error).message}`);
|
||||
core.setFailed(`analyze post-action step failed: ${(0, util_1.getErrorMessage)(error)}`);
|
||||
}
|
||||
}
|
||||
void runWrapper();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue