Skip to content

Commit

Permalink
feat: modify install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
EjembiEmmanuel committed Oct 8, 2024
1 parent a50c9ea commit 4e7d295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bin/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,11 @@ const installPackage = async () => {
);

await exec(
`npm run install --dojo-version=${dojo_version} --legacy-peer-deps && npm run initialize-dojo`
`npm run install --dojo-version=${dojo_version} --legacy-peer-deps`
);

await exec("npm run initialize-dojo");

fs.rmSync(path.join(projectPath, "/dojo-starter"), {
recursive: true,
force: true,
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ install_dojo() {
echo "Dojo is already installed."
else
echo "Installing Dojo latest..."
dojoup --version $version
dojoup
fi
fi
}
Expand Down

0 comments on commit 4e7d295

Please sign in to comment.