Comparing version 1.2.0 to 1.2.1
@@ -179,3 +179,8 @@ "use strict"; | ||
if (err) { | ||
throw err; | ||
console.log(err); | ||
if (err.code !== 404) { | ||
throw err; | ||
} | ||
return; | ||
} | ||
@@ -182,0 +187,0 @@ |
{ | ||
"name": "hasdep", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Check for a dependency (and version) across a Github Org or specific repo", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -29,14 +29,15 @@ #hasdep | ||
`cp config.default.json ~/hasdep-config.json` | ||
`cp config-public.default.json ~/hasdep-config.json` | ||
If you're searching Github.com, you're good to proceed. | ||
If you're searching an internal github instance, change `host` to the correct domain. E.g. if your | ||
Github instance is at `https://github02.acme-anvils.com` you would set: | ||
If you're searching an internal github instance, use config-internal.default.json and | ||
change `host` to the correct domain. E.g. if your Github instance is at | ||
`https://github02.acme-anvils.com` you would set: | ||
`host: "github02.acme-anvils.com",` | ||
in `config.json`. | ||
in `hasdep-config.json`. | ||
You probably don't want to accidentally commit that value to a public repo, which is why `config.json` | ||
You probably don't want to accidentally commit that value to a public repo, which is why `hasdep-config.json` | ||
is in `.gitignore`. Information Leakage is a genuine security threat, folks. | ||
@@ -43,0 +44,0 @@ |
Sorry, the diff of this file is not supported yet
10258
7
222
82