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,9 +54,6 @@ print $fh <<'EOT';
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 0.883854166666667,
|
||||
"swallows": [
|
||||
{}
|
||||
],
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
@ -65,9 +62,6 @@ print $fh <<'EOT';
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{}
|
||||
],
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
|
Reference in New Issue
Block a user