Skip to content

Commit df9c684

Browse files
Add more capacitor libraries (#13)
1 parent 3f165dd commit df9c684

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

blueprints/ember-cli-capacitor/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ module.exports = {
4848
choices,
4949
});
5050

51-
selected.platforms.forEach((platform) => {
51+
for (const platform of selected.platforms) {
52+
await this.addPackagesToProject([{ name: `@capacitor/{platform}` }]);
5253
execSync(`npx cap add ${platform}`);
53-
});
54+
}
5455
},
5556
};

0 commit comments

Comments
 (0)