mirror of
https://github.com/actions/setup-node.git
synced 2025-08-14 23:05:06 +00:00
setup node in local
This commit is contained in:
parent
5ef044f9d0
commit
2742b68906
@ -7,6 +7,7 @@ import {getPackageManagerInfo} from './cache-utils';
|
||||
// Catch and log any unhandled exceptions. These exceptions can leak out of the uploadChunk method in
|
||||
// @actions/toolkit when a failed upload closes the file descriptor causing any in-process reads to
|
||||
// throw an uncaught exception. Instead of failing this action, just warn.
|
||||
|
||||
process.on('uncaughtException', e => {
|
||||
const warningPrefix = '[warning]';
|
||||
core.info(`${warningPrefix}${e.message}`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user