@salesforce/core
Advanced tools
Comparing version 6.5.0 to 6.5.1
@@ -44,2 +44,3 @@ "use strict"; | ||
} | ||
// NEXT_RELEASE: update types to specify return can be | undefined | ||
get(key, decrypt = false) { | ||
@@ -55,2 +56,3 @@ const rawValue = this.contents.get(key); | ||
} | ||
// NEXT_RELEASE: update types to specify return can be | undefined | ||
return rawValue; | ||
@@ -57,0 +59,0 @@ } |
@@ -55,6 +55,7 @@ "use strict"; | ||
logger.debug(`resuming scratch org creation for jobId: ${jobId}`); | ||
if (!cache.has(jobId)) { | ||
const cached = cache.get(jobId); | ||
if (!cached) { | ||
throw messages.createError('CacheMissError', [jobId]); | ||
} | ||
const { hubUsername, apiVersion, clientSecret, signupTargetLoginUrlConfig, definitionjson, alias, setDefault, tracksSource, } = cache.get(jobId); | ||
const { hubUsername, apiVersion, clientSecret, signupTargetLoginUrlConfig, definitionjson, alias, setDefault, tracksSource, } = cached; | ||
const hubOrg = await org_1.Org.create({ aliasOrUsername: hubUsername }); | ||
@@ -61,0 +62,0 @@ const soi = await (0, scratchOrgInfoApi_1.queryScratchOrgInfo)(hubOrg, jobId); |
{ | ||
"name": "@salesforce/core", | ||
"version": "6.5.0", | ||
"version": "6.5.1", | ||
"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
993721
21131