Bug fix: unique argument was never checked.

Now it's once again possible to pass multiple copies of linker flags! I don't know why you'd want to do that.
This commit is contained in:
Joseph Cloutier
2024-01-14 11:55:44 -05:00
parent 55dfc267bb
commit d0e5eab1c5

View File

@@ -434,7 +434,7 @@ abstract ConfigData(Dynamic) to Dynamic from Dynamic
Reflect.setField(current, field + ARRAY, array);
}
if (array.indexOf(value) == -1)
if (!unique || array.indexOf(value) == -1)
{
array.push(value);
}