@salesforce/core
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -0,1 +1,8 @@ | ||
## [2.1.6](https://github.com/forcedotcom/sfdx-core/compare/v2.1.5...v2.1.6) (2020-01-13) | ||
### Bug Fixes | ||
* add config var for telemetry opt out ([f79ace3](https://github.com/forcedotcom/sfdx-core/commit/f79ace34462f586feb296b94ee369e1f7922341d)) | ||
## [2.1.5](https://github.com/forcedotcom/sfdx-core/compare/v2.1.4...v2.1.5) (2019-11-15) | ||
@@ -2,0 +9,0 @@ |
@@ -73,2 +73,6 @@ import { ConfigFile } from './configFile'; | ||
/** | ||
* Disables telemetry reporting | ||
*/ | ||
static readonly DISABLE_TELEMETRY = "disableTelemetry"; | ||
/** | ||
* Returns the default file name for a config file. | ||
@@ -75,0 +79,0 @@ * |
@@ -172,2 +172,9 @@ "use strict"; | ||
{ key: Config.ISV_DEBUGGER_URL }, | ||
{ | ||
key: Config.DISABLE_TELEMETRY, | ||
input: { | ||
validator: value => value == null || ['true', 'false'].includes(value.toString()), | ||
failedMessage: Config.messages.getMessage('InvalidBooleanConfigValue') | ||
} | ||
}, | ||
// This should be brought in by a plugin, but there isn't a way to do that right now. | ||
@@ -256,3 +263,7 @@ { | ||
Config.API_VERSION = 'apiVersion'; | ||
/** | ||
* Disables telemetry reporting | ||
*/ | ||
Config.DISABLE_TELEMETRY = 'disableTelemetry'; | ||
exports.Config = Config; | ||
//# sourceMappingURL=config.js.map |
{ | ||
"name": "@salesforce/core", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.", | ||
@@ -5,0 +5,0 @@ "main": "lib/exported", |
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
445620
11134