mirror of
https://github.com/getsolus/packages.git
synced 2025-04-26 12:50:29 +03:00
ci/package_checks: Fix issue when running checks against an up-to-date main
**Summary** Fix an issue where a commit named `''` would be checked instead of no commits when there are no commits to check.
This commit is contained in:
parent
63b42b437a
commit
a108a5314d
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class Git:
|
|||
return self._run(self.root, list(args))
|
||||
|
||||
def run_lines(self, *args: str) -> List[str]:
|
||||
return self.run(*args).split("\n")
|
||||
return self.run(*args).splitlines()
|
||||
|
||||
def changed_files(self, base: str, head: str) -> List[str]:
|
||||
return self.run_lines('diff', '--name-only', '--diff-filter=AM', base, head)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue