CityBEM-CityLayers-SaeedRay.../node_modules/yarn-or-npm/bin/index.js

16 lines
287 B
JavaScript

#! /usr/bin/env node
'use strict';
const yarnOrNpm = require('../index');
// Execute the command
try {
const status = yarnOrNpm.spawn.sync(
process.argv.slice(2),
{ stdio: 'inherit' }
).status
process.exit(status);
} catch (err) {
console.log(err);
process.exit(1);
}