Skip to content

Commit

Permalink
chore: Invert logic
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake committed Jan 14, 2025
1 parent 2fe3e2b commit 9d3ccad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cli/bin/grainrun.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ const v8 = require("v8");
* This seems to work for our needs with Node 18, but we should be cautious when updating.
*/
if (
!process.versions.node.startsWith("22.") &&
!process.versions.node.startsWith("23.")
process.versions.node.startsWith("18.") ||
process.versions.node.startsWith("19.") ||
process.versions.node.startsWith("20.") ||
process.versions.node.startsWith("21.")
)
v8.setFlagsFromString("--experimental-wasm-return-call");

Expand Down

0 comments on commit 9d3ccad

Please sign in to comment.