Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

git-repo-info

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-repo-info - npm Package Compare versions

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",