1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const spawn = require('cross-spawn');
|
4 | exports.execSync = (command, args) => {
|
5 | const proc = spawn.sync(command, args, { stdio: 'inherit' });
|
6 | if (proc.status !== 0) {
|
7 | console.error(`\`${command} ${args.join(' ')}\` failed`);
|
8 | return;
|
9 | }
|
10 | return;
|
11 | };
|