-
-
Notifications
You must be signed in to change notification settings - Fork 353
Closed
Description
What is wrong:
args.push("line")
add line in front of the array, but expected add into end.
Details:
Gradle v4.10.2 Exec.arguments:
[/Users/oleksandr.kucherenko/projects/klarna-app/clients/node_modules/@sentry/cli/bin/sentry-cli, react-native, gradle, --bundle, /Users/oleksandr.kucherenko/projects/klarna-app/clients/android/app/build/generated/assets/react/yellow/release/index.android.bundle, --sourcemap, /Users/oleksandr.kucherenko/projects/klarna-app/clients/android/app/build/generated/assets/react/yellow/release/index.android.bundle.map, --release, net.klarna.app.yellow.int-1.0.0A, --dist, 1]
How arguments array looks in Gradle v5.0:
Gradle v5.0 Exec.arguments:
[net.klarna.app.yellow.int-1.0.0A, --release, /Users/oleksandr.kucherenko/projects/klarna-app/clients/android/app/build/generated/assets/react/yellow/release/index.android.bundle.map, --sourcemap, /Users/oleksandr.kucherenko/projects/klarna-app/clients/android/app/build/generated/assets/react/yellow/release/index.android.bundle, --bundle, gradle, react-native, /Users/oleksandr.kucherenko/projects/klarna-app/clients/node_modules/@sentry/cli/bin/sentry-cli, --dist, 1]
Solution:
- replace all
push()
calls byadd()
orinsert()
techeverri, OleksandrKucherenko and jussirantala
Metadata
Metadata
Assignees
Labels
No labels