From a29054520d4cf6c4f48bc7319a9d898a9b623b07 Mon Sep 17 00:00:00 2001 From: nyyu Date: Tue, 16 Mar 2021 22:07:16 +0100 Subject: [PATCH] PB: Fix panic --- src/pb_data_source.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pb_data_source.rs b/src/pb_data_source.rs index e511b99..a8893d7 100644 --- a/src/pb_data_source.rs +++ b/src/pb_data_source.rs @@ -69,7 +69,7 @@ impl DataSource for PBDataSource { build = &build[pos + 10..]; let end = build.find('\\').unwrap(); items.push(&build[..end]); - build = &build[pos + 22..]; + build = &build[end + 20..]; } builds.push((positions[0].to_owned(), vec![json!({