Skip to content

Commit 1528049

Browse files
committed
chore: 修正构建副标题
1 parent 62f412c commit 1528049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const headSha = sh('git rev-parse HEAD');
1616
const headCommitCount = sh('git rev-list --count HEAD');
1717
const headBranch = sh('git rev-parse --abbrev-ref HEAD');
1818
const anyChanges = sh('git status --porcelain -uall', '').length > 0;
19-
const BUILD_INFO = isDocker ? '使用 Docker 构建' : `构建版本 {${headCommitCount}${anyChanges ? '*' : ''}}`;
19+
const BUILD_INFO = isDocker ? '使用 Docker 构建' : `构建版本 ${headCommitCount}${anyChanges ? '*' : ''}`;
2020

2121
// https://vitejs.dev/config/
2222
export default defineConfig({

0 commit comments

Comments
 (0)