File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default defineConfig({
3535 visualizer ( ) ,
3636 ] ,
3737 define : {
38- _GIT_COMMIT : JSON . stringify ( execSync ( "git rev-parse HEAD" ) . toString ( ) . trim ( ) ) ,
38+ __GIT_COMMIT : JSON . stringify ( execSync ( "git rev-parse HEAD" ) . toString ( ) . trim ( ) ) ,
3939 } ,
4040 } ,
4141} ) ;
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import VercelBanner from "./VercelBanner.astro";
44
55declare global {
66 // See `astro.config.mjs` for definition.
7- const _GIT_COMMIT : string ;
7+ const __GIT_COMMIT : string ;
88}
99
10- const gitCommit = _GIT_COMMIT ;
10+ const gitCommit = __GIT_COMMIT ;
1111const gitCommitShort = gitCommit .slice (0 , 7 );
1212const githubCommitUrl = ` https://github.com/jsdocs-io/web/commit/${gitCommit } ` ;
1313---
You can’t perform that action at this time.
0 commit comments