Skip to content

Commit

Permalink
fix: remove the v from the version variable
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Dec 2, 2022
1 parent 597aa10 commit fe27758
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build": "pnpm build:tsc && pnpm build:package",
"build:tsc": "tsc --noEmit",
"build:package": "esbuild --platform=node --bundle --sourcemap src/main.ts --define:process.env.VERSION=\\\"v$npm_package_version\\\" --minify --outfile=dist/index.js",
"build:package": "esbuild --platform=node --bundle --sourcemap src/main.ts --define:process.env.VERSION=\\\"$npm_package_version\\\" --minify --outfile=dist/index.js",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const banner = String.raw`
/ / / __ \ / __ / \__ \ / __ \ / _ \ / _ \ / __ /
/ /___ / /_/ // /_/ / ___/ // /_/ // __// __// /_/ /
\____/ \____/ \__,_/ /____// .___/ \___/ \___/ \__,_/
https://codspeed.io /_/ runner ${VERSION}
https://codspeed.io /_/ runner v${VERSION}
`;

Expand Down

0 comments on commit fe27758

Please sign in to comment.