We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3538dd9 commit dceebdeCopy full SHA for dceebde
packages/cli-platform-android/src/commands/runAndroid/tryInstallAppOnDevice.ts
@@ -26,7 +26,7 @@ function tryInstallAppOnDevice(
26
// create path to output file, eg. `production/debug`
27
// ensure multiflavored path is correct, e.g. `clientStagingDebug` -> `clientStaging/debug`
28
const variantPath = variantFromSelectedTask
29
- ? `${variantFromSelectedTask.slice(0, -1).join("")}/${variantFromSelectedTask.at(-1).toLocaleLowerCase()}`
+ ? `${variantFromSelectedTask.slice(0, -1).join("")}/${variantFromSelectedTask.at(-1)!.toLocaleLowerCase()}`
30
: defaultVariant;
31
// create output file name, eg. `production-debug`
32
const variantAppName =
0 commit comments