git-repo-info
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -128,6 +128,10 @@ 'use strict'; | ||
tag: null, | ||
root: path.resolve(gitPath, '..') | ||
root: null | ||
}; | ||
if (!gitPath) { return result; } | ||
try { | ||
result.root = path.resolve(gitPath, '..'); | ||
var headFilePath = path.join(gitPath, 'HEAD'); | ||
@@ -134,0 +138,0 @@ |
{ | ||
"name": "git-repo-info", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Retrieve current sha and branch name from a git repo.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
47797
73
299