@gauseen/gum
Advanced tools
Comparing version
{ | ||
"name": "@gauseen/gum", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "git multiple user config manager", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/index.js", |
@@ -52,2 +52,6 @@ # Git multiple user config manager | ||
### v1.0.4 | ||
- fix: support user.name contain space | ||
### v1.0.3 | ||
@@ -54,0 +58,0 @@ |
@@ -103,5 +103,6 @@ const shell = require('shelljs'); | ||
if (shell.exec(`git config ${g} user.name ${user.name}`).code !== 0) { | ||
if (shell.exec(`git config ${g} user.name "${user.name}"`).code !== 0) { | ||
shell.echo('Error: Git config user.name failed'); | ||
} | ||
if (shell.exec(`git config ${g} user.email ${user.email}`).code !== 0) { | ||
@@ -108,0 +109,0 @@ shell.echo('Error: Git config user.email failed'); |
8364
0.66%64
6.67%