Skip to content

Commit dda13f8

Browse files
authored
Fix empty array in node config YAML
1 parent 0908830 commit dda13f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function getConfiguration()
181181
*/
182182
public function getYamlConfiguration()
183183
{
184-
return Yaml::dump($this->getConfiguration(), 4, 2);
184+
return Yaml::dump($this->getConfiguration(), 4, 2, Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
185185
}
186186

187187
/**

0 commit comments

Comments
 (0)