Skip to content

Commit

Permalink
For #394
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed Jan 12, 2025
1 parent 12ad951 commit 82c2180
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/init.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ program
}

log(chalk.green('Installing dependencies...'));
execSync(`${packageManager} install`, execSyncOpts);
const suffix = packageManager === 'npm' ? '--force' : '';
execSync(`${packageManager} install ${suffix}`, execSyncOpts);

log(chalk.green('Re-initializing git repository after install...'));
execSync('git init', execSyncOpts);
Expand Down

0 comments on commit 82c2180

Please sign in to comment.