angular-datatables
Version:
Angular directive for DataTables
12 lines • 495 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFileContent = getFileContent;
// https://github.com/angular/angular-cli/blob/16.1.x/packages/schematics/angular/utility/test/get-file-content.ts
function getFileContent(tree, path) {
var fileEntry = tree.get(path);
if (!fileEntry) {
throw new Error("The file (".concat(path, ") does not exist."));
}
return fileEntry.content.toString();
}
//# sourceMappingURL=get-file-content.js.map
;