Skip to content

Commit

Permalink
fix: revert removable of maven check
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSimplyKyle committed Oct 8, 2023
1 parent 94aaca8 commit 81edb96
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/native/src/api/forge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,12 @@ pub async fn process_forge(
)
.into_iter()
.map(|x| {
convert_maven_to_path(&x, Some(&folder))
.context("failed to convert [] types maven into path")
if x.starts_with('[') {
convert_maven_to_path(&x, Some(&folder))
.context("failed to convert [] types maven into path")
} else {
Ok(x)
}
})
.collect::<Result<Vec<_>>>()?;
let mut all = Vec::new();
Expand Down

0 comments on commit 81edb96

Please sign in to comment.