Skip to content

Commit

Permalink
🔀 Merge pull request #1617 from sadlowskij/v4/bug/alexa-async-deploy-…
Browse files Browse the repository at this point in the history
…missing-skillid

🐛 Fix missing skillId issue for async Alexa deploys
  • Loading branch information
jankoenig authored Jan 31, 2024
2 parents a2ec227 + 3785221 commit b7a6501
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platforms/platform-alexa/src/cli/hooks/DeployHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ export class DeployHook extends AlexaHook<DeployPlatformEvents> {

this.$context.alexa.importId = importId;

// requesting import status right away sometimes leads to no skill info being returned
if (this.$context.flags.async) await wait(3000);

// Check import status
const status: ImportStatus = await smapi.getImportStatus(
importId,
Expand Down

0 comments on commit b7a6501

Please sign in to comment.