mirror of
https://github.com/actions/setup-node.git
synced 2026-02-18 20:34:47 +08:00
check failures fix
This commit is contained in:
@@ -93,7 +93,8 @@ async function getToolVersion(tool: string, options: string[]) {
|
||||
}
|
||||
|
||||
return stdout.trim();
|
||||
} catch (err) {
|
||||
} catch (error: any) {
|
||||
core.warning(`An error occurred: ${error.message}`);
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user