Skip to content

Commit

Permalink
fix(deps-global): misspelled git command to install global packages
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrizsmerino committed Dec 14, 2022
1 parent 9f31913 commit d5eddf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/preinstall-global-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async function installGlobalDependencies() {
dependenceVersionInstalled.replace("~", "").replace("^", "") === dependenceVersionToInstall);

if (!found) {
execSync(`${usingMacOS ? "sudo" : ""} npm i - g ${dependenceNameToInstall}@${dependenceVersionToInstall}`);
execSync(`${usingMacOS ? "sudo" : ""} npm i -g ${dependenceNameToInstall}@${dependenceVersionToInstall}`);
console.log(`➕ Installing dependency: ${dependenceNameToInstall}@${dependenceVersionToInstall}`);
} else {
console.log(`✅ Dependency already installed: ${dependenceNameToInstall}@${dependenceVersionToInstall}`);
Expand Down

0 comments on commit d5eddf0

Please # to comment.