Skip to content

Commit d3f3a41

Browse files
committed
chore: reviews
1 parent 64763a7 commit d3f3a41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ggshield/utils/git_shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def git(
204204
try:
205205
logger.debug("command=%s timeout=%d", command, timeout)
206206
result = subprocess.run(
207-
[_get_git_path()] + ["-c", "core.quotePath=false"] + command,
207+
[_get_git_path(), "-c", "core.quotePath=false"] + command,
208208
check=check,
209209
capture_output=True,
210210
timeout=timeout,

tests/unit/cmd/scan/test_precommit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_precommit_with_emoji_filename(tmp_path, cli_fs_runner):
111111
THEN it executes successfully
112112
"""
113113
# Set up repository
114-
repo = Repository.create(tmp_path, initial_branch="main")
114+
repo = Repository.create(tmp_path)
115115

116116
# Create a file with emoji in the name
117117
emoji_file = tmp_path / "my_😊_emoji_file.txt"

0 commit comments

Comments
 (0)