Remove an empty String#replace call (#13889)
This commit is contained in:
1 parent
54a1a18f1b
commit
2f4233bc85
1 file changed
+1
-1
@@ -74,7 +74,7 @@ function clean(ast, newObj, parent) {
|
||||
(ast.type === "value-word" &&
|
||||
((ast.isColor && ast.isHex) ||
|
||||
["initial", "inherit", "unset", "revert"].includes(
|
||||
newObj.value.replace().toLowerCase()
|
||||
newObj.value.toLowerCase()
|
||||
))) ||
|
||||
ast.type === "media-feature" ||
|
||||
ast.type === "selector-root-invalid" ||
|
||||
|
||||
Reference in new issue
Block a user