Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
} else {
console.error(
'Did not find a valid ICM_BASE_URL. Setup a environment.local.ts or supply it via environment variable.'
);
process.exit(1);
}
console.log('using', icmBaseUrl, 'as ICM_BASE_URL');
const args = process.argv.slice(0, 2);
args.push('open', '-e', 'ICM_BASE_URL=' + icmBaseUrl);
if (process.argv.length > 2) {
args.push(...process.argv.slice(2));
}
cypress.init(args);