Comparing version 1.0.14 to 1.0.15
@@ -18,12 +18,14 @@ (function() { | ||
module.exports = function(token, options, callback) { | ||
var name = path.join(HOME, '.grizzly.json'); | ||
exec.if(token, function() { | ||
release(token, options, callback); | ||
}, function(fn) { | ||
var name = path.join(HOME, '.grizzly.json'); | ||
readjson(name, function(error, json) { | ||
if (!error) | ||
if (error) { | ||
callback(error); | ||
} else { | ||
token = json.token; | ||
fn(); | ||
fn(); | ||
} | ||
}); | ||
@@ -30,0 +32,0 @@ }); |
{ | ||
"name": "grizzly", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "create release on github", | ||
@@ -5,0 +5,0 @@ "main": "lib/release.js", |
@@ -38,2 +38,6 @@ # Grizzly | ||
Data will be read before execution in next order (left is more important): | ||
`command line -> ~/.grizzly.json` | ||
## Example | ||
@@ -40,0 +44,0 @@ |
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
8112
129
63