is-git-repository
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -44,1 +44,2 @@ 'use strict'; | ||
exports.default = isGit; | ||
module.exports = exports['default']; |
{ | ||
"name": "is-git-repository", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A tool to check if a specific path is a git repository", | ||
@@ -44,2 +44,3 @@ "main": "build.js", | ||
"babel-cli": "^6.24.0", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-env": "^1.2.2", | ||
@@ -46,0 +47,0 @@ "coveralls": "^2.12.0", |
@@ -6,4 +6,7 @@ import { homedir } from 'os'; | ||
const isGitRequire = require('./'); | ||
test('check if process.cwd() is a git repo', (t) => { | ||
t.true(isGit()); | ||
t.true(isGitRequire()); | ||
}); | ||
@@ -13,2 +16,3 @@ | ||
t.false(isGit(homedir())); | ||
t.false(isGitRequire(homedir())); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
141620
46
10