Skip to content

Commit 9e7b25c

Browse files
committed
chore: copy-version should emit prettified code
1 parent 4dcbda3 commit 9e7b25c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: scripts/copy-version.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22

33
echo -e "\033[34mℹ\033[0m Copying Version to \033[34msrc/version.ts\033[0m"
44
PACKAGE_VERSION=$(node -pe 'require(`./package.json`).version')
5-
PACKAGE_STRING=\"'$PACKAGE_VERSION'\"
6-
echo 'export const version = '$PACKAGE_STRING';' > ./src/version.ts
5+
echo 'export const version = "'$PACKAGE_VERSION'";' > ./src/version.ts
76
echo -e "\033[32m✓\033[0m Done Copying Version"

0 commit comments

Comments
 (0)