Skip to content

Commit

Permalink
Merge pull request #342 from Shopify/jl-fix-cli-js
Browse files Browse the repository at this point in the history
Pass `--no-typescript` if the user didn't want typescript
  • Loading branch information
jplhomer authored Dec 16, 2022
2 parents dbcd6ae + 8737c76 commit 736e51f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/loud-birds-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/cli-hydrogen': patch
---

Properly use JS if specified in the temp init script
2 changes: 1 addition & 1 deletion packages/cli/src/commands/hydrogen/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function runInit({
'--template',
template,
'--install',
typescript ? '--typescript' : '',
typescript ? '--typescript' : '--no-typescript',
token ? `--token ${token}` : '',
];

Expand Down

0 comments on commit 736e51f

Please sign in to comment.