mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-13 23:51:10 +00:00
.
This commit is contained in:
parent
78d7c382fb
commit
e7ed525da5
7117 changed files with 1773720 additions and 211 deletions
15
node_modules/uglify-js/tools/exit.js
generated
vendored
Normal file
15
node_modules/uglify-js/tools/exit.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// workaround for tty output truncation upon process.exit()
|
||||
var exit = process.exit;
|
||||
process.exit = function() {
|
||||
var args = [].slice.call(arguments);
|
||||
process.once("uncaughtException", function() {
|
||||
(function callback() {
|
||||
if (process.stdout.bufferSize || process.stderr.bufferSize) {
|
||||
setImmediate(callback);
|
||||
} else {
|
||||
exit.apply(process, args);
|
||||
}
|
||||
})();
|
||||
});
|
||||
throw exit;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue