Comparing version 0.5.1 to 0.5.2
@@ -157,3 +157,3 @@ import { isJSON } from './objects.js'; | ||
const rev = fs | ||
.readFileSync(repo + '.git/HEAD') | ||
.readFileSync(repo + '/.git/HEAD') | ||
.toString() | ||
@@ -166,3 +166,3 @@ .trim(); | ||
return fs | ||
.readFileSync(repo + '.git/' + rev.substring(5)) | ||
.readFileSync(repo + '/.git/' + rev.substring(5)) | ||
.toString() | ||
@@ -169,0 +169,0 @@ .trim(); |
{ | ||
"name": "utilium", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Typescript utilies", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -223,3 +223,3 @@ import { isJSON } from './objects.js'; | ||
const rev = fs | ||
.readFileSync(repo + '.git/HEAD') | ||
.readFileSync(repo + '/.git/HEAD') | ||
.toString() | ||
@@ -231,3 +231,3 @@ .trim(); | ||
return fs | ||
.readFileSync(repo + '.git/' + rev.substring(5)) | ||
.readFileSync(repo + '/.git/' + rev.substring(5)) | ||
.toString() | ||
@@ -234,0 +234,0 @@ .trim(); |
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
68430