diff --git a/common/scripts/install-run-rush.js b/common/scripts/install-run-rush.js index 71ca9fe4676a..5afdb9ad8409 100644 --- a/common/scripts/install-run-rush.js +++ b/common/scripts/install-run-rush.js @@ -16,7 +16,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; @@ -42,7 +42,7 @@ function _getRushVersion() { console.log(`Using Rush version from environment variable ${RUSH_PREVIEW_VERSION}=${rushPreviewVersion}`); return rushPreviewVersion; } - const rushJsonFolder = install_run_1.findRushJsonFolder(); + const rushJsonFolder = (0, install_run_1.findRushJsonFolder)(); const rushJsonPath = path.join(rushJsonFolder, install_run_1.RUSH_JSON_FILENAME); try { const rushJsonContents = fs.readFileSync(rushJsonPath, 'utf-8'); @@ -76,10 +76,10 @@ function _run() { } process.exit(1); } - install_run_1.runWithErrorAndStatusCode(() => { + (0, install_run_1.runWithErrorAndStatusCode)(() => { const version = _getRushVersion(); console.log(`The rush.json configuration requests Rush version ${version}`); - return install_run_1.installAndRun(PACKAGE_NAME, version, bin, packageBinArgs); + return (0, install_run_1.installAndRun)(PACKAGE_NAME, version, bin, packageBinArgs); }); } _run(); diff --git a/common/scripts/install-run.js b/common/scripts/install-run.js index 22eedeeaaa44..fa5522e847cf 100644 --- a/common/scripts/install-run.js +++ b/common/scripts/install-run.js @@ -16,7 +16,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; diff --git a/rush.json b/rush.json index b5c589b79b03..15af88de870c 100644 --- a/rush.json +++ b/rush.json @@ -15,7 +15,7 @@ * path segment in the "$schema" field for all your Rush config files. This will ensure * correct error-underlining and tab-completion for editors such as VS Code. */ - "rushVersion": "5.51.1", + "rushVersion": "5.54.0", /** * The next field selects which package manager should be installed and determines its version. * Rush installs its own local copy of the package manager to ensure that your build process