Commit d9e1ced
committed
fix(prepare): check config and platforms dir for platform state
For freshly cloned projects that have platforms specified in config but
have not yet added them, `ionic cordova prepare` may not work as
expected.
This also fixes a bug in `ionic repair` where the warning was appearing
after `platforms/` was being deleted.
Fixes #39121 parent d0bc021 commit d9e1ced
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
80 | 82 | | |
| 83 | + | |
81 | 84 | | |
82 | | - | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
0 commit comments