Correction de bug #2 + Modification du readme.md + Ajout d'un test d'un autre groupe
This commit is contained in:
@@ -199,8 +199,10 @@ public class BakefileParser {
|
||||
if (depStr == null || depStr.trim().isEmpty()) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
String cleanedStr = depStr.replaceAll("\\\\\\s*", " ");
|
||||
|
||||
String resolvedStr = replaceVariables(depStr.trim());
|
||||
String resolvedStr = replaceVariables(cleanedStr.trim());
|
||||
return Arrays.stream(resolvedStr.split("\\s+"))
|
||||
.map(String::trim)
|
||||
.filter(s -> !s.isEmpty())
|
||||
|
Reference in New Issue
Block a user