8000 n · Dollbug/pp-git-cli@ea9644f · GitHub
[go: up one dir, main page]

Skip to content

Commit ea9644f

Browse files
author
chenxf
committed
n
1 parent 298e86c commit ea9644f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function updateCode({ commit = "n" }) {
99
if (/.*[\u4e00-\u9fa5]+.*$/.test(commit)) {
1010
execSync(`git commit -m ${JSON.stringify(commit)}`);
1111
} else {
12-
execSync(`git commit -m ${commit}`);
12+
execSync(`git commit -m '${commit}'`);
1313
// execSync(`git commit -m ${JSON.stringify(commit)}`);
1414
}
1515

0 commit comments

Comments
 (0)
0