Skip to content

Commit

Permalink
Fix error message cli when upload apk
Browse files Browse the repository at this point in the history
  • Loading branch information
yunusefendi52 committed Dec 8, 2024
1 parent 5bce6a2 commit 08ae700
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cli/cli.mjs
Git LFS file not shown
6 changes: 3 additions & 3 deletions utils/upload-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ export async function uploadArtifact(
}
const generateBundleHeadless = fileApk === 'generate_bundle'
async function uploadApkUrl() {
if (!apkUrl) {
console.error('Something happen apkUrl is null')
}
if (generateBundleHeadless) {

} else if (fileApk) {
if (fileApk && !apkUrl) {
console.error('Something happen apkUrl is null')
}
await myFetch(apkUrl!.apkSignedUrl, {
method: 'put',
body: fileApk,
Expand Down

0 comments on commit 08ae700

Please sign in to comment.