Skip to content

Commit

Permalink
fix: inject version was not using double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 committed Jun 12, 2023
1 parent e7fc1aa commit b7a7700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/inject-version.ts
@@ -1,4 +1,4 @@
import { writeFileSync, readFileSync } from "fs";
import { readFileSync, writeFileSync } from "fs";
import { dirname, resolve } from "path";
import { fileURLToPath } from "url";

Expand All @@ -13,7 +13,7 @@ writeFileSync(
resolve(__dirname, VERSION_FILE_PATH),
`// This file is autogenerated by inject-version.ts. Any changes will be
// overwritten on commit!
export const VERSION = '${packageJSON.version}';
export const VERSION = "${packageJSON.version}";
`
);
console.log(`Wrote version to ${VERSION_FILE_PATH}.`);

0 comments on commit b7a7700

Please sign in to comment.