Skip to content

Commit

Permalink
parse run exports from other packages as lenient
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Dec 17, 2024
1 parent 591417f commit 66274e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/render/run_exports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ impl IgnoreRunExports {
let to_specs = |strings: &Vec<String>| -> Result<Vec<MatchSpec>, ParseMatchSpecError> {
strings
.iter()
.map(|s| MatchSpec::from_str(s, ParseStrictness::Strict))
// We have to parse these as lenient as they come from packages
.map(|s| MatchSpec::from_str(s, ParseStrictness::Lenient))
.filter_map(|result| match result {
Ok(spec) => {
if spec
Expand Down

0 comments on commit 66274e9

Please sign in to comment.