Fixed migration issue with 'All' host or item value.

This commit is contained in:
Alexander Zobnin
2016-04-01 12:27:04 +03:00
parent d9f5d5f146
commit f922c2fe6f

View File

@@ -34,5 +34,9 @@ export function migrate(target) {
}
function convertToRegex(str) {
return '/' + str + '/';
if (str) {
return '/' + str + '/';
} else {
return '/.*/';
}
}