mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-01 19:15:52 +01:00
Fix illegal access from plugin to core api.
This commit is contained in:
@@ -116,7 +116,7 @@ class ConsolidatedModifications {
|
||||
void modified(Modified modified) {
|
||||
Modification earlierModification = modifications.get(modified.getPath());
|
||||
if (!(earlierModification instanceof Added)) { // added should still be added
|
||||
modified.getEffectedPaths().forEach(path -> modifications.put(path, modified));
|
||||
modifications.put(modified.getPath(), modified);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user