Fixed migration issue with 'All' host or item value.
This commit is contained in:
@@ -34,5 +34,9 @@ export function migrate(target) {
|
||||
}
|
||||
|
||||
function convertToRegex(str) {
|
||||
return '/' + str + '/';
|
||||
if (str) {
|
||||
return '/' + str + '/';
|
||||
} else {
|
||||
return '/.*/';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user