You've already forked setup-msbuild
mirror of
https://github.com/microsoft/setup-msbuild.git
synced 2025-11-04 00:36:41 +07:00
remove console debugging
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user