diff --git a/scripts/shared/overwrite-version.ts b/scripts/shared/overwrite-version.ts index 19dd99e0cd8b..f45fa880b37b 100644 --- a/scripts/shared/overwrite-version.ts +++ b/scripts/shared/overwrite-version.ts @@ -1,7 +1,7 @@ import {writeFileSync} from 'fs'; export function overwriteVersion(file: string, version: string): void { - writeFileSync(file, `export const TUI_VERSION = \`${version}\`;\n`, { + writeFileSync(file, `export const TUI_VERSION = '${version}';\n`, { encoding: 'utf-8', }); }