Files
setup-haskell/node_modules/fsevents/install.js
Timothy Clem 63b90beb0c npm audit fix
2019-09-30 10:04:01 -07:00

8 lines
291 B
JavaScript

if (process.platform === 'darwin') {
var spawn = require('child_process').spawn;
var args = ['install', '--fallback-to-build'];
var options = {stdio: 'inherit'};
var child = spawn(require.resolve('node-pre-gyp/bin/node-pre-gyp'), args, options);
child.on('close', process.exit);
}