@mbc-cqrs-serverless/cli
Version:
a CLI to get started with MBC CQRS serverless framework
14 lines (13 loc) • 392 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkFilesExist = checkFilesExist;
const core_1 = require("@angular-devkit/core");
function checkFilesExist(tree, paths) {
for (const path of paths) {
const filePath = (0, core_1.normalize)(path);
if (tree.exists(filePath)) {
return true;
}
}
return false;
}