Comparing version 1.12.10 to 1.12.11
@@ -42,2 +42,6 @@ /* | ||
exports.getProjectConfigPath = function() { | ||
return path.join(process.cwd(), '.gh.json') | ||
} | ||
exports.getUserHomePath = function() { | ||
@@ -53,3 +57,3 @@ return userhome('.gh.json') | ||
try { | ||
projectConfig = JSON.parse(fs.readFileSync(exports.getUserHomePath())) | ||
projectConfig = JSON.parse(fs.readFileSync(exports.getProjectConfigPath())) | ||
@@ -56,0 +60,0 @@ Object.keys(globalConfig).forEach(function(key) { |
{ | ||
"name": "gh", | ||
"description": "GitHub command line tools.", | ||
"version": "1.12.10", | ||
"version": "1.12.11", | ||
"homepage": "http://nodegh.io", | ||
@@ -28,3 +28,9 @@ "author": { | ||
}, | ||
"keywords": ["git", "github", "external", "commands", "helpers"], | ||
"keywords": [ | ||
"git", | ||
"github", | ||
"external", | ||
"commands", | ||
"helpers" | ||
], | ||
"bin": { | ||
@@ -45,3 +51,6 @@ "gh": "bin/gh.js" | ||
"lint-staged": { | ||
"*.{js,json}": ["prettier-eslint --write", "git add"] | ||
"*.{js}": [ | ||
"prettier-eslint --write", | ||
"git add" | ||
] | ||
}, | ||
@@ -48,0 +57,0 @@ "dependencies": { |
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
173345
4313