Reject empty swallow definitions
Empty swallow definitions don't make sense and can lead to crashes, for that reason we reject them. fixes #2099
This commit is contained in:
@ -54,7 +54,7 @@ print $fh <<'EOT';
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
// "class": "^URxvt$",
|
||||
"class": "^URxvt$"
|
||||
// "instance": "^urxvt$",
|
||||
// "title": "^vals\\@w00t\\:\\ \\~$"
|
||||
}
|
||||
@ -119,7 +119,7 @@ print $fh <<'EOT';
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
// "class": "^URxvt$",
|
||||
"class": "^URxvt$"
|
||||
// "instance": "^urxvt$",
|
||||
// "title": "^vals\\@w00t\\:\\ \\~$"
|
||||
}
|
||||
@ -165,7 +165,7 @@ print $fh <<'EOT';
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
// "class": "^URxvt$",
|
||||
"class": "^URxvt$"
|
||||
// "instance": "^urxvt$",
|
||||
// "title": "^vals\\@w00t\\:\\ \\~$"
|
||||
}
|
||||
@ -213,7 +213,7 @@ print $fh <<'EOT';
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
// "class": "^URxvt$",
|
||||
"class": "^URxvt$"
|
||||
// "instance": "^urxvt$",
|
||||
// "title": "^vals\\@w00t\\:\\ \\~$"
|
||||
}
|
||||
|
Reference in New Issue
Block a user