Fix pytest errors
This commit is contained in:
parent
b963342d9b
commit
897784ddea
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class GitApi():
|
||||||
return ''.join(self.system_api.stdout).rstrip()
|
return ''.join(self.system_api.stdout).rstrip()
|
||||||
|
|
||||||
def init(self):
|
def init(self):
|
||||||
self.system_api.run_checked('git', 'init')
|
self.system_api.run_checked('git', 'init', '-b', 'main')
|
||||||
|
|
||||||
def add_file(self, file_path: Path):
|
def add_file(self, file_path: Path):
|
||||||
self.system_api.run_checked('git', 'add', file_path)
|
self.system_api.run_checked('git', 'add', file_path)
|
||||||
|
|
Loading…
Reference in a new issue