Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var jake = require('jake');
var args = process.argv.slice(2);
jake.addListener('complete', function () {
console.log('Complete.');
});
jake.addListener('start', function () {
console.log('start.');
});
jake.addListener('error', function (msg, code) {
console.error('Fatal error: ', msg, code);
});
jake.run.apply(jake, args);
MeteorDeploy.prototype.runJakeTask = function(task) {
jake.run.apply(jake, ['--jakefile', this.jakeFilePath, '--jakelibdir', this.jakeLibPath, task]);
};