Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
code / usr / share / code / resources / app / node_modules / node-pty / scripts / install.js
Size: Mime:
'use strict'

const os = require('os');
const path = require('path');
const spawn = require('child_process').spawn;

spawn(os.platform() === 'win32' ? 'node-gyp.cmd' : 'node-gyp', ['rebuild'], {
  cwd: path.join(__dirname, '..'),
  stdio: 'inherit'
});