Merge pull request #2396 from pterodactyl/fix-2361

Fix empty array in node config YAML
This commit is contained in:
Dane Everitt
2020-09-22 19:36:41 -07:00
committed by GitHub

View File

@@ -181,7 +181,7 @@ class Node extends Model
*/
public function getYamlConfiguration()
{
return Yaml::dump($this->getConfiguration(), 4, 2);
return Yaml::dump($this->getConfiguration(), 4, 2, Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
}
/**