Skip to content

Commit

Permalink
Use a replacement selector for Windows support.
Browse files Browse the repository at this point in the history
  • Loading branch information
marchermans committed May 30, 2024
1 parent bdab11f commit 1c0ac95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public abstract static class MappingsFileValueSource implements ValueSource<File
@Nullable
@Override
public File obtain() {
return getParameters().getNeoFormArchive().filter(f -> f.getAbsoluteFile().getPath().endsWith(getParameters().getMappingsFilePath().get())).getSingleFile();
return getParameters().getNeoFormArchive().filter(f -> f.getAbsoluteFile().getPath().replace(File.separator, "/").endsWith(getParameters().getMappingsFilePath().get())).getSingleFile();
}
}
}

0 comments on commit 1c0ac95

Please sign in to comment.