Skip to content

Commit 3066b5d

Browse files
author
lihai2333
committed
修复bug
1 parent 4f274cb commit 3066b5d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/git.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ function send (data) {
66
Git += " " + data[i];
77
}
88
exec(Git, function (err, stdout, srderr) {
9-
err?console.log(srderr):console.log(srderr + "\n" + stdout);
9+
err?console.log(srderr):console.log(`${srderr}
10+
${stdout}`);
1011
})
1112
}
1213

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fgit-cli",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"main": "./lib/main.js",
55
"bin": {
66
"fgit": "bin/fgit.js"

0 commit comments

Comments
 (0)