mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-05-14 19:57:15 +00:00
v6
This commit is contained in:
parent
cd5893b2c6
commit
70742d22d9
6774 changed files with 1602535 additions and 1 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