Skip to content

Commit 1ca29a2

Browse files
committed
fix(create-email): replace instead of replaceAll for react-email version
1 parent 0c2bcf8 commit 1ca29a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-email/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const init = async (name, { tag }) => {
7373
'INSERT_COMPONENTS_VERSION',
7474
await getLatestVersionOfTag('@react-email/components', tag),
7575
)
76-
.replace(
76+
.replaceAll(
7777
'INSERT_REACT_EMAIL_VERSION',
7878
await getLatestVersionOfTag('react-email', tag),
7979
),

0 commit comments

Comments
 (0)