Skip to content

Commit

Permalink
Rename npmInstall -> install.
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Sep 17, 2023
1 parent d2c10b0 commit 091c2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const someUpgraded = (pkgs: string[], analysis: Index<PackageFile> | PackageFile
}

/** Either suggest an install command based on the package manager, or in interactive mode, prompt to auto-install. */
const npmInstall = async (
const install = async (
pkgs: string[],
analysis: Index<PackageFile> | PackageFile,
options: Options,
Expand Down Expand Up @@ -253,7 +253,7 @@ async function runUpgrades(options: Options, timeout?: NodeJS.Timeout): Promise<
if (options.packageManager === 'deno') {
print(options, '')
} else {
await npmInstall(packageFilepaths, analysis, options)
await install(packageFilepaths, analysis, options)
}
}

Expand Down

0 comments on commit 091c2f7

Please sign in to comment.