mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-04 19:41:10 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
node_modules/uglify-js/tools
15
node_modules/uglify-js/tools/exit.js
generated
vendored
15
node_modules/uglify-js/tools/exit.js
generated
vendored
|
@ -1,15 +0,0 @@
|
|||
// 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