Skip to content

Commit fa2f702

Browse files
committed
Fixing minor stylistic changes in install-run-common.
1 parent bf9cea0 commit fa2f702

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/rush-lib/src/scripts/install-run-common.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,11 @@ function cleanInstallFolder(rushCommonFolder: string, packageInstallFolder: stri
175175
fs.renameSync(nodeModulesFolder, rushRecyclerFolder);
176176
}
177177
} catch (e) {
178-
throw new Error(`Error cleaning the package install folder (${packageInstallFolder}): ${e}`);
178+
throw new Error(`Error cleaning the package install folder (${packageInstallFolder}): ${e}`);
179179
}
180180
}
181181

182-
function createPackageJason(packageInstallFolder: string, name: string, version: string): void {
182+
function createPackageJson(packageInstallFolder: string, name: string, version: string): void {
183183
try {
184184
const packageJsonContents: IPackageJson = {
185185
'name': 'ci-rush',
@@ -273,7 +273,7 @@ export function installAndRun(
273273
// The package isn't already installed
274274
cleanInstallFolder(rushCommonFolder, packageInstallFolder);
275275
copyNpmrcIfItExists(rushCommonFolder, packageInstallFolder);
276-
createPackageJason(packageInstallFolder, packageName, packageVersion);
276+
createPackageJson(packageInstallFolder, packageName, packageVersion);
277277
installPackage(packageInstallFolder, packageName, packageVersion);
278278
writeFlagFile(packageInstallFolder);
279279
}

common/scripts/install-run-common.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)