@hubspot/cli 7.7.16-experimental.8 → 7.7.16-experimental.9
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.
|
@@ -103,10 +103,10 @@ async function handler(args) {
|
|
|
103
103
|
});
|
|
104
104
|
process.exit(exitCodes_1.EXIT_CODES.ERROR);
|
|
105
105
|
}
|
|
106
|
-
if (
|
|
106
|
+
if (formatOutputAsJson) {
|
|
107
107
|
// HACK: The status endpoint sometimes returns an early success status.
|
|
108
|
-
// Sleep for an extra
|
|
109
|
-
await new Promise(resolve => setTimeout(resolve,
|
|
108
|
+
// Sleep for an extra 6 minutes to make sure the sync is actually complete.
|
|
109
|
+
await new Promise(resolve => setTimeout(resolve, 360000));
|
|
110
110
|
try {
|
|
111
111
|
// Attempt to generate a new personal access key for the test account now that gate sync is complete.
|
|
112
112
|
const { data } = await (0, developerTestAccounts_1.generateDeveloperTestAccountPersonalAccessKey)(derivedAccountId, testAccountId);
|
package/package.json
CHANGED