8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea9644f commit 3ee2289Copy full SHA for 3ee2289
git.js
@@ -6,12 +6,12 @@ var currentBranch = execSync("git rev-parse --abbrev-ref HEAD")
6
7
function updateCode({ commit = "n" }) {
8
execSync("git add .");
9
- if (/.*[\u4e00-\u9fa5]+.*$/.test(commit)) {
10
- execSync(`git commit -m ${JSON.stringify(commit)}`);
11
- } else {
+ // if (/.*[\u4e00-\u9fa5]+.*$/.test(commit)) {
+ // execSync(`git commit -m ${JSON.stringify(commit)}`);
+ // } else {
12
execSync(`git commit -m '${commit}'`);
13
// execSync(`git commit -m ${JSON.stringify(commit)}`);
14
- }
+ // }
15
16
execSync(`git pull origin ${currentBranch}`);
17
execSync(`git push origin ${currentBranch}`);
0 commit comments