Skip to content

Commit

Permalink
Just testing if I can get tests to work.
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Caverly <[email protected]>
  • Loading branch information
coreycaverly committed Oct 5, 2023
1 parent e8dd5ad commit fc18e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gordian/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _set_target_branch(self, target_branch, source_branch=None):
def _get_repo_contents(self, path):
try:
logger.debug(f'Fetching repo contents {path}...')
return self._source_repo.get_contents(path, self.source_branch)
return self._source_repo.get_contents(path, self.target_branch)
except GithubException as e:
if e.status == 404:
raise e
Expand Down Expand Up @@ -248,6 +248,6 @@ def _get_new_version(self):
elif self.semver_label == 'patch':
patch = str(int(patch) + 1)
self.new_version = '.'.join([major, minor, patch])

def get_github_client(self):
return self._github

0 comments on commit fc18e42

Please sign in to comment.