@nx-dotnet/core
Version:
- Have an existing nx workspace. For creating this, see [nrwl's documentation](https://nx.dev/latest/angular/getting-started/nx-setup). - .NET SDK is installed, and `dotnet` is available on the path. For help on this, see [Microsoft's documentation](https
22 lines • 518 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.tryReadJson = tryReadJson;
exports.tryReadJsonFile = tryReadJsonFile;
const devkit_1 = require("@nx/devkit");
function tryReadJson(tree, path) {
try {
return (0, devkit_1.readJson)(tree, path);
}
catch {
return null;
}
}
function tryReadJsonFile(path) {
try {
return (0, devkit_1.readJsonFile)(path);
}
catch {
return null;
}
}
//# sourceMappingURL=try-read-json.js.map