remove console debugging

This commit is contained in:
Michael Henderson
2024-06-13 15:11:12 -07:00
parent a274d1e1e7
commit 9d34712f10
2 changed files with 2 additions and 6 deletions

4
dist/index.js vendored
View File

@ -139,11 +139,9 @@ function run() {
core.debug(`Tool path added to PATH: ${toolFolderPath}`);
}
catch (error) {
let errorMessage = 'Failed to do something exceptional';
if (error instanceof Error) {
errorMessage = error.message;
core.setFailed(error.message);
}
console.log(errorMessage);
}
});
}