Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(remix-dev/cli): Remove excess fetching and improve error handling #2500

Merged
merged 18 commits into from
Mar 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update packages/remix-dev/cli/run.ts
Co-authored-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
chaance and mcansh authored Mar 29, 2022
commit cd5451dbf693aeecdc19c30fcc659a790fb742cc
3 changes: 2 additions & 1 deletion packages/remix-dev/cli/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ export async function run(argv: string[] = process.argv.slice(2)) {
templateType! || (answers.appType === "stack" ? "repo" : "template"),
projectDir,
remixVersion: flags.remixVersion,
installDeps: flags.install ?? answers.install,
installDeps: flags.install || answers.install,
useTypeScript: flags.typescript || answers.useTypeScript,
useTypeScript: flags.typescript ?? answers.useTypeScript,
Copy link
Collaborator

@mcansh mcansh Mar 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heh oops, the commit suggestion didn't let me remove the previous useTypeScript 🤦

and appTemplate needs to be updated to || as well :oof:

githubToken: process.env.GITHUB_TOKEN,
});
Expand Down