We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b50b5 commit 98f72f0Copy full SHA for 98f72f0
src/package.ts
@@ -224,12 +224,12 @@ export const packageCommands = {
224
options,
225
}: {
226
args: string[];
227
- options: { appId?: string; packageId?: string; packageVersion?: string };
+ options: { appId?: string; packageId?: string; packageVersion?: string; platform?: Platform };
228
}) => {
229
let { appId, packageId, packageVersion } = options;
230
231
if (!appId) {
232
- const platform = await getPlatform();
+ const platform = await getPlatform(options.platform);
233
appId = (await getSelectedApp(platform)).appId as string;
234
}
235
0 commit comments