Skip to content

Commit d40d961

Browse files
committed
fix(cordova): default to cordova prepare without platforms
fixes #3426
1 parent bfdb672 commit d40d961

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/ionic/src/commands/cordova/prepare.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ You may wish to use ${chalk.green('ionic cordova prepare')} if you run your proj
8484
);
8585
}
8686
}
87-
} else {
88-
if (platforms.length === 0) {
89-
this.env.log.warn(`No platforms installed. See ${chalk.green('ionic cordova platform add --help')} to add Cordova platforms.`);
90-
return;
91-
}
9287
}
9388

9489
const metadata = await this.getMetadata();

0 commit comments

Comments
 (0)