in ide/deploy/deploy.js [160:169]
export function deployProject(artifact) {
if (fs.existsSync(artifact)) {
const manifestContent = fs.readFileSync(artifact);
if (manifestContent.indexOf('packages:')!==-1) {
exec(`$OPS -wsk project deploy --manifest ${artifact}`);
} else {
console.log(`Wanring: it seems that the ${artifact} file is not a valid manifest file. Skipping`);
}
}
}