@heroku-cli/command
Advanced tools
Comparing version 8.1.11 to 8.1.12
@@ -0,1 +1,9 @@ | ||
<a name="8.1.12"></a> | ||
## [8.1.12](https://github.com/heroku/heroku-cli-command/compare/v8.1.11...v8.1.12) (2018-05-09) | ||
### Bug Fixes | ||
* show url when HEROKU_TESTING_HEADLESS_LOGIN is set ([c3a3f01](https://github.com/heroku/heroku-cli-command/commit/c3a3f01)) | ||
<a name="8.1.11"></a> | ||
@@ -2,0 +10,0 @@ ## [8.1.11](https://github.com/heroku/heroku-cli-command/compare/v8.1.10...v8.1.11) (2018-05-09) |
@@ -133,6 +133,8 @@ "use strict"; | ||
cp.on('error', cli_ux_1.default.error); | ||
const showUrl = () => cli_ux_1.default.warn(`Cannot open browser. Go to ${color_1.default.greenBright(url)} to finish login or run ${color_1.default.cmd('heroku login --interactive')}\n`); | ||
if (process.env.HEROKU_TESTING_HEADLESS_LOGIN === '1') | ||
showUrl(); | ||
cp.on('close', code => { | ||
if (code === 0) | ||
return; | ||
process.stderr.write(`Cannot open browser. Go to ${color_1.default.greenBright(url)} to finish login or run ${color_1.default.cmd('heroku login --interactive')}\n`); | ||
if (code !== 0) | ||
showUrl(); | ||
}); | ||
@@ -139,0 +141,0 @@ cli_ux_1.default.action.start('Waiting for login'); |
{ | ||
"name": "@heroku-cli/command", | ||
"description": "base class for Heroku CLI commands", | ||
"version": "8.1.11", | ||
"version": "8.1.12", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/heroku-cli-command/issues", |
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
50899
1165
18