Restored filtering out of empty name actions
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ public object DirectiveBasedActionUtils {
|
|||||||
return actions.filter { !isIrrelevantAction(it) }
|
return actions.filter { !isIrrelevantAction(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun isIrrelevantAction(action: String) = IRRELEVANT_ACTION_PREFIXES.any { action.startsWith(it) }
|
private fun isIrrelevantAction(action: String) = action.isEmpty() || IRRELEVANT_ACTION_PREFIXES.any { action.startsWith(it) }
|
||||||
|
|
||||||
private val IRRELEVANT_ACTION_PREFIXES = listOf(
|
private val IRRELEVANT_ACTION_PREFIXES = listOf(
|
||||||
"Disable ",
|
"Disable ",
|
||||||
|
|||||||
Reference in New Issue
Block a user