node-ff
Version:
A CLI for creating NodeJs projects
22 lines • 555 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExeCommands = void 0;
class ExeCommands {
constructor(exeCommands, check) {
this.exeCommands = exeCommands;
this.check = check;
}
execute({ commands }) {
try {
this.exeCommands.exec({ commands });
}
catch (err) {
this.check.checkCommands({
commands,
err: err,
});
}
}
}
exports.ExeCommands = ExeCommands;
//# sourceMappingURL=index.js.map