Skip to content

Commit

Permalink
Remove another git warning during specs (dependabot#8113)
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Sep 29, 2023
1 parent c82e88e commit 33922a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater/spec/support/dummy_pkg_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create_temporary_content_directory(fixture:, directory: "/", state: "origina

# The content directory needs to a repo
Dir.chdir(tmp_dir) do
system("git init . && git add . && git commit --allow-empty -m 'Init'", out: File::NULL)
system("git init --initial-branch main . && git add . && git commit --allow-empty -m 'Init'", out: File::NULL)
end

tmp_dir
Expand Down

0 comments on commit 33922a2

Please sign in to comment.