Adds fix for when multiple flags are in one line. (#5493)

This commit is contained in:
pwygab 2022-05-10 19:13:19 +08:00 committed by GitHub
parent 14d80d54fe
commit f311da9623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,8 +94,8 @@ pub fn escape_quote_string_with_file(input: &str, file: &str) -> String {
} }
} }
} }
if word == input { if word.contains(input) {
return word; return input.to_string();
} }
} }
let mut final_word = String::new(); let mut final_word = String::new();