Fixes a bug in the preset prefix logic
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
This commit is contained in:
@@ -94,7 +94,8 @@ public enum SmithPreset {
|
||||
negated = true;
|
||||
}
|
||||
|
||||
if ((negated && !upperCasedPreset.startsWith("_PRESET:")) && !upperCasedPreset.startsWith("PRESET:")) {
|
||||
if ((negated && !upperCasedPreset.startsWith("_PRESET:")) ||
|
||||
(!negated && !upperCasedPreset.startsWith("PRESET:"))) {
|
||||
return possiblePreset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user