PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/nx/src/migrations/update-15-8-2
Просмотр файла: update-nxw.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const add_nx_scripts_1 = require("../../nx-init/dot-nx/add-nx-scripts");
const path_1 = require("../../utils/path");
function default_1(tree) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const wrapperPath = (0, path_1.normalizePath)((0, add_nx_scripts_1.nxWrapperPath)());
if (tree.exists(wrapperPath)) {
tree.write(wrapperPath, (0, add_nx_scripts_1.getNxWrapperContents)());
}
});
}
exports.default = default_1;
//# sourceMappingURL=update-nxw.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!