heroku-cli-util
Advanced tools
Comparing version 8.0.6 to 8.0.7
@@ -121,8 +121,5 @@ 'use strict' | ||
function relogin () { | ||
if (process.env.HEROKU_API_KEY) { | ||
cli.error(`API key is currently set by the HEROKU_API_KEY environment variable. | ||
Ensure this is set to a correct value or unset it to use the netrc file.`) | ||
process.exit(1) | ||
} | ||
return auth.login({save: true}) | ||
if (process.env.HEROKU_LOGIN_REDIRECT === '1') return auth.login({save: true}) | ||
process.env.HEROKU_LOGIN_REDIRECT = '1' | ||
require('child_process').execSync('heroku login', {stdio: 'inherit'}) | ||
} | ||
@@ -129,0 +126,0 @@ |
{ | ||
"name": "heroku-cli-util", | ||
"description": "Set of helpful CLI utilities", | ||
"version": "8.0.6", | ||
"version": "8.0.7", | ||
"author": "Jeff Dickey (@dickeyxxx)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
86416
2913
36
5