@salesforce/core 3.34.3 → 3.34.5
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/lib/logger.js +1 -1
- package/lib/org/org.js +6 -6
- package/package.json +2 -2
package/lib/logger.js
CHANGED
|
@@ -694,7 +694,7 @@ const filterSecrets = (...args) => args.map((arg) => {
|
|
|
694
694
|
}
|
|
695
695
|
if (arg) {
|
|
696
696
|
let mutableArg;
|
|
697
|
-
// Normalize all objects into a string. This
|
|
697
|
+
// Normalize all objects into a string. This includes errors.
|
|
698
698
|
if (arg instanceof Buffer) {
|
|
699
699
|
mutableArg = '<Buffer>';
|
|
700
700
|
}
|
package/lib/org/org.js
CHANGED
|
@@ -156,6 +156,12 @@ class Org extends kit_1.AsyncOptionalCreatable {
|
|
|
156
156
|
]);
|
|
157
157
|
}
|
|
158
158
|
this.logger.debug(`Return from calling singleRecordQuery with tooling: ${JSON.stringify(sandboxCreationProgress, undefined, 2)}`);
|
|
159
|
+
if (!sandboxIsResumable(sandboxCreationProgress.Status)) {
|
|
160
|
+
throw messages.createError('sandboxNotResumable', [
|
|
161
|
+
sandboxCreationProgress.SandboxName,
|
|
162
|
+
sandboxCreationProgress.Status,
|
|
163
|
+
]);
|
|
164
|
+
}
|
|
159
165
|
await lifecycleEvents_1.Lifecycle.getInstance().emit(SandboxEvents.EVENT_RESUME, sandboxCreationProgress);
|
|
160
166
|
const [wait, pollInterval] = this.validateWaitOptions(options);
|
|
161
167
|
// if wait is 0, return the sandboxCreationProgress immediately
|
|
@@ -178,12 +184,6 @@ class Org extends kit_1.AsyncOptionalCreatable {
|
|
|
178
184
|
await lifecycleEvents_1.Lifecycle.getInstance().emit(SandboxEvents.EVENT_ASYNC_RESULT, sandboxCreationProgress);
|
|
179
185
|
throw messages.createError('sandboxCreateNotComplete');
|
|
180
186
|
}
|
|
181
|
-
if (!sandboxIsResumable(sandboxCreationProgress.Status)) {
|
|
182
|
-
throw messages.createError('sandboxNotResumable', [
|
|
183
|
-
sandboxCreationProgress.SandboxName,
|
|
184
|
-
sandboxCreationProgress.Status,
|
|
185
|
-
]);
|
|
186
|
-
}
|
|
187
187
|
this.logger.debug(`resume - pollStatusAndAuth sandboxProcessObj ${JSON.stringify(sandboxCreationProgress, undefined, 2)}, max wait time of ${wait.minutes} minutes`);
|
|
188
188
|
return this.pollStatusAndAuth({
|
|
189
189
|
sandboxProcessObj: sandboxCreationProgress,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "3.34.
|
|
3
|
+
"version": "3.34.5",
|
|
4
4
|
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@salesforce/dev-scripts": "^4.0.0-beta.7",
|
|
60
60
|
"@salesforce/prettier-config": "^0.0.2",
|
|
61
61
|
"@salesforce/ts-sinon": "^1.4.6",
|
|
62
|
-
"@types/archiver": "^5.3.
|
|
62
|
+
"@types/archiver": "^5.3.2",
|
|
63
63
|
"@types/chai-string": "^1.4.2",
|
|
64
64
|
"@types/debug": "0.0.31",
|
|
65
65
|
"@types/jsen": "0.0.21",
|