Skip to content

Commit

Permalink
fix(remix-dev): Remove logical nullish assignment (#3880)
Browse files Browse the repository at this point in the history
Co-authored-by: Kent C. Dodds <[email protected]>
  • Loading branch information
machour and kentcdodds authored Jul 30, 2022
1 parent 3dadb3d commit 241af0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/chilled-ants-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"remix": patch
"@remix-run/dev": patch
---

fix(remix-dev): Remove logical nullish assignment which is incompatible with Node v14.
2 changes: 1 addition & 1 deletion packages/remix-dev/cli/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export async function run(argv: string[] = process.argv.slice(2)) {
if (args["--no-interactive"]) {
flags.interactive = false;
}
flags.interactive ??= require.main === module;
flags.interactive = flags.interactive ?? require.main === module;
if (args["--no-typescript"]) {
flags.typescript = false;
}
Expand Down

0 comments on commit 241af0b

Please sign in to comment.