Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const npmCI = () => {
const { terminal } = require('@absolunet/terminal');
try {
terminal.run(`cd ${root} && npm ci`);
util.exit();
} catch (error) {
terminal.errorBox(`
The package-lock.json file is outdated
Please run ${chalk.underline('nwayo install workflow --force')} to update it
`);
util.exit();
}
};