X-Git-Url: https://git.josue.xyz/?p=VSoRC%2F.git;a=blobdiff_plain;f=node_modules%2Fnode-pty%2Fscripts%2Finstall.js;fp=node_modules%2Fnode-pty%2Fscripts%2Finstall.js;h=0000000000000000000000000000000000000000;hp=d88b7f108b4a1a3429bf50d72884f9a5a84158f4;hb=5e96dd57ddd883604e87f62bdddcb111c63a6e1a;hpb=acb5f682a2b75b972710cabd81658f63071324b0 diff --git a/node_modules/node-pty/scripts/install.js b/node_modules/node-pty/scripts/install.js deleted file mode 100644 index d88b7f1..0000000 --- a/node_modules/node-pty/scripts/install.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict' - -const os = require('os'); -const path = require('path'); -const spawn = require('child_process').spawn; - -const gypArgs = ['rebuild']; -if (process.env.NODE_PTY_DEBUG) { - gypArgs.push('--debug'); -} -const gypProcess = spawn(os.platform() === 'win32' ? 'node-gyp.cmd' : 'node-gyp', gypArgs, { - cwd: path.join(__dirname, '..'), - stdio: 'inherit' -}); - -gypProcess.on('exit', function (code) { - process.exit(code); -});