git-rev-sync
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -19,3 +19,3 @@ 'use strict'; | ||
if (result.status !== 0) { | ||
throw new Error('[git-rev-sync] failed to execute command: ' + result.error.code); | ||
throw new Error('[git-rev-sync] failed to execute command: ' + result.stderr); | ||
} | ||
@@ -29,6 +29,6 @@ | ||
if (result.code !== 0) { | ||
throw new Error('[git-rev-sync] failed to execute command: ' + result.output); | ||
throw new Error('[git-rev-sync] failed to execute command: ' + result.stdout); | ||
} | ||
return result.output.toString('utf8').replace(/^\s+|\s+$/g, ''); | ||
return result.stdout.toString('utf8').replace(/^\s+|\s+$/g, ''); | ||
} | ||
@@ -94,3 +94,3 @@ | ||
// looking up the hash here. | ||
var refToFind = path.join('refs', 'heads', b); | ||
var refToFind = ['refs', 'heads', b].join('/'); | ||
var packfileContents = fs.readFileSync(path.resolve(gitDir, 'packed-refs'), 'utf8'); | ||
@@ -97,0 +97,0 @@ var packfileRegex = new RegExp('(.*) ' + refToFind); |
{ | ||
"name": "git-rev-sync", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"author": "kurttheviking", | ||
@@ -52,6 +52,6 @@ "bugs": { | ||
"dependencies": { | ||
"graceful-fs": "4.1.3", | ||
"shelljs": "0.6.0" | ||
"graceful-fs": "4.1.6", | ||
"shelljs": "0.7.4" | ||
}, | ||
"devDependencies": {} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9955
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedgraceful-fs@4.1.6(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedinterpret@1.4.0(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedrechoir@0.6.2(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedshelljs@0.7.4(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedgraceful-fs@4.1.3(transitive)
- Removedshelljs@0.6.0(transitive)
Updatedgraceful-fs@4.1.6
Updatedshelljs@0.7.4