mirror of
https://github.com/actions/setup-python.git
synced 2025-06-12 07:17:13 +02:00
Initial pass
This commit is contained in:
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;
|
||||
};
|
Reference in New Issue
Block a user