Skip to content

Commit

Permalink
fix: crypto not defined in cli envVars.ts. #2009 (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
swyckoff authored Nov 4, 2024
1 parent 0e9f08a commit 12fccae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/strange-sheep-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-t3-app": patch
---

Added an import for crypto in the cli envVars.ts to support older node versions.
1 change: 1 addition & 0 deletions cli/src/installers/envVars.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import crypto from "node:crypto";
import path from "path";
import fs from "fs-extra";

Expand Down

0 comments on commit 12fccae

Please sign in to comment.