Skip to content

Commit

Permalink
fix(cli): await sync on add to avoid telemetry hang
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Sep 27, 2021
1 parent 530477d commit 833bc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/tasks/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export async function addCommand(
await editPlatforms(config, platformName);

if (await pathExists(config.app.webDirAbs)) {
sync(config, platformName, false);
await sync(config, platformName, false);
} else {
logger.warn(
`${c.success(c.strong('sync'))} could not run--missing ${c.strong(
Expand Down

0 comments on commit 833bc20

Please sign in to comment.