heroku 8.11.3 → 8.11.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/lib/global_telemetry.js +4 -0
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -56,16 +56,13 @@ For other issues, [submit a support ticket](https://help.heroku.com/).
|
|
|
56
56
|
* [`heroku logs`](docs/logs.md) - display recent log output
|
|
57
57
|
* [`heroku maintenance`](docs/maintenance.md) - enable/disable access to app
|
|
58
58
|
* [`heroku members`](docs/members.md) - manage organization members
|
|
59
|
-
* [`heroku notifications`](docs/notifications.md) - display notifications
|
|
60
59
|
* [`heroku orgs`](docs/orgs.md) - manage organizations
|
|
61
60
|
* [`heroku pg`](docs/pg.md) - manage postgresql databases
|
|
62
61
|
* [`heroku pipelines`](docs/pipelines.md) - manage pipelines
|
|
63
62
|
* [`heroku plugins`](docs/plugins.md) - List installed plugins.
|
|
64
63
|
* [`heroku ps`](docs/ps.md) - Client tools for Heroku Exec
|
|
65
|
-
* [`heroku psql`](docs/psql.md) - open a psql shell to the database
|
|
66
64
|
* [`heroku redis`](docs/redis.md) - manage heroku redis instances
|
|
67
65
|
* [`heroku regions`](docs/regions.md) - list available regions for deployment
|
|
68
|
-
* [`heroku releases`](docs/releases.md) - display the releases for an app
|
|
69
66
|
* [`heroku reviewapps`](docs/reviewapps.md) - manage reviewapps in pipelines
|
|
70
67
|
* [`heroku run`](docs/run.md) - run a one-off process inside a Heroku dyno
|
|
71
68
|
* [`heroku sessions`](docs/sessions.md) - OAuth sessions
|
package/lib/global_telemetry.js
CHANGED
|
@@ -15,6 +15,7 @@ const path = require('path');
|
|
|
15
15
|
const { version } = require('../package.json');
|
|
16
16
|
const root = path.resolve(__dirname, '../package.json');
|
|
17
17
|
const isDev = process.env.IS_DEV_ENVIRONMENT === 'true';
|
|
18
|
+
const isTelemetryDisabled = process.env.DISABLE_TELEMETRY === 'true';
|
|
18
19
|
function getToken() {
|
|
19
20
|
const config = new core_1.Config({ root });
|
|
20
21
|
const heroku = new command_1.APIClient(config);
|
|
@@ -106,6 +107,9 @@ function reportCmdNotFound(config) {
|
|
|
106
107
|
exports.reportCmdNotFound = reportCmdNotFound;
|
|
107
108
|
async function sendTelemetry(currentTelemetry, rollbarCb) {
|
|
108
109
|
// send telemetry to honeycomb and rollbar
|
|
110
|
+
if (isTelemetryDisabled) {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
109
113
|
const telemetry = currentTelemetry;
|
|
110
114
|
if (telemetry instanceof Error) {
|
|
111
115
|
await Promise.all([
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "8.11.
|
|
4
|
+
"version": "8.11.4-beta.0",
|
|
5
5
|
"author": "Jeff Dickey @jdxcode",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -359,5 +359,5 @@
|
|
|
359
359
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
360
360
|
},
|
|
361
361
|
"types": "lib/index.d.ts",
|
|
362
|
-
"gitHead": "
|
|
362
|
+
"gitHead": "5cc36893e5851042729851efda6d71dce4855c8d"
|
|
363
363
|
}
|