mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
8 lines
291 B
JavaScript
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);
|
|
}
|