Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// `--compile`
if (options.c || options.compile) {
return Contracts.compile(config, function(err) {
if (err) return done(err);
Require.exec(
config.with({
file: file
}),
done
);
});
}
// Just exec
Require.exec(
config.with({
file: file
}),
done
);
})
.catch(error => {