Fix empty array in node config YAML

This commit is contained in:
Anand Capur 2020-09-22 16:09:28 -07:00 committed by GitHub
parent 0908830003
commit dda13f80c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}
/**