We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4511ecc commit 9e820cdCopy full SHA for 9e820cd
index.js
@@ -9,7 +9,7 @@ function _command (cmd) {
9
throw new Error('failed to execute git-rev-sync command', result);
10
}
11
12
- return result.stdout;
+ return result.stdout.replace(/^\s+|\s+$/g, '');
13
14
15
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "git-rev-sync",
3
- "version": "0.1.3",
+ "version": "0.1.4",
4
"author": "kurttheviking",
5
"bugs": {
6
"web": "https://github.com/kurttheviking/git-rev-sync/issues"
0 commit comments