Skip to content

Commit

Permalink
Set a single key in gemrc to allow appending
Browse files Browse the repository at this point in the history
The previous "{}" literal closed the root hash, so that appending text to the file doesn't work easily.
But it's the only way to set an empty hash.
As a solution, we set a single key now.

This was raised in #388 (comment)
  • Loading branch information
larskanis authored Oct 18, 2024
1 parent 62a4d0d commit a821a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/files/operating_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def operating_system_defaults
# But do not delete this file as otherwise it could be hijacked by
# another user in a multi-user environment.
---
{}
verbose: false
EOT
end
end
Expand Down

0 comments on commit a821a49

Please sign in to comment.