@salesforce/plugin-org
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -5,2 +5,14 @@ # Changelog | ||
## [1.3.0](https://github.com/salesforcecli/plugin-org/compare/v1.2.0...v1.3.0) (2021-02-16) | ||
### Features | ||
* uses default username ([5654f9e](https://github.com/salesforcecli/plugin-org/commit/5654f9e9fd26a421054b6f200a65e56f85e69975)) | ||
### Bug Fixes | ||
* org:display default username ([bc815da](https://github.com/salesforcecli/plugin-org/commit/bc815da15b3c0a6e910a4b1752ad39489cabc7c9)) | ||
## [1.2.0](https://github.com/salesforcecli/plugin-org/compare/v1.1.3...v1.2.0) (2021-02-16) | ||
@@ -7,0 +19,0 @@ |
@@ -20,6 +20,4 @@ "use strict"; | ||
async run() { | ||
var _a; | ||
// translate to alias if necessary | ||
const username = (_a = (await core_1.Aliases.fetch(this.flags.targetusername))) !== null && _a !== void 0 ? _a : this.flags.targetusername; | ||
const authInfo = await core_1.AuthInfo.create({ username }); | ||
const authInfo = await core_1.AuthInfo.create({ username: this.org.getUsername() }); | ||
const fields = authInfo.getFields(true); | ||
@@ -26,0 +24,0 @@ const isScratchOrg = fields.devHubUsername; |
{ | ||
"name": "@salesforce/plugin-org", | ||
"description": "A template repository for sfdx plugins", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": "Salesforce", | ||
@@ -123,4 +123,4 @@ "bugs": "https://github.com/forcedotcom/cli/issues", | ||
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/sfdx-cli-03032020.crt", | ||
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-org-1.2.0.sig" | ||
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-org-1.3.0.sig" | ||
} | ||
} |
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
78751
910