Skip to content

Commit

Permalink
fix(cli): Removing extra dash in android apk name flavor parsing (#7382)
Browse files Browse the repository at this point in the history
  • Loading branch information
theproducer authored Apr 11, 2024
1 parent 3f96ff9 commit 3c411fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,6 @@ export async function checkJDKMajorVersion(): Promise<number> {
}

export function parseApkNameFromFlavor(flavor: string): string {
const convertedName = flavor.replace(/([A-Z])/g, '-$1').toLowerCase();
const convertedName = flavor.replace(/([A-Z])/g, '$1').toLowerCase();
return `app-${convertedName ? `${convertedName}-` : ''}debug.apk`;
}

0 comments on commit 3c411fd

Please sign in to comment.