File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/commands/dart_symbol_map Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ build = "build.rs"
33name = " sentry-cli"
44version = " 2.58.2"
55edition = " 2021"
6- rust-version = " 1.86 "
6+ rust-version = " 1.91 "
77
88[workspace ]
99
Original file line number Diff line number Diff line change 1- FROM rust:1.87.0 -alpine3.20@sha256:126df0f2a57e675f9306fe180b833982ffb996e90a92a793bb75253cfeed5475 AS sentry-build
1+ FROM rust:1.91.1 -alpine3.20@sha256:79a1bf22657dda835c5e2cf08e3aba4099ed36af3f28167103feb688a3e2604b AS sentry-build
22
33# Install build dependencies
44RUN apk add musl-dev perl openssl-dev make
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pub(super) fn execute(args: DartSymbolMapUploadArgs) -> Result<()> {
9090 serde_json:: from_slice ( mapping_file_bytes. as_ref ( ) )
9191 . context ( "Invalid dartsymbolmap: expected a JSON array of strings" ) ?;
9292
93- if mapping_entries. len ( ) % 2 != 0 {
93+ if ! mapping_entries. len ( ) . is_multiple_of ( 2 ) {
9494 bail ! (
9595 "Invalid dartsymbolmap: expected an even number of entries, got {}" ,
9696 mapping_entries. len( )
You can’t perform that action at this time.
0 commit comments