Skip to content

Commit c75ed20

Browse files
authored
Merge pull request pterodactyl#2396 from pterodactyl/fix-2361
Fix empty array in node config YAML
2 parents 0908830 + dda13f8 commit c75ed20

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)