Skip to content

Commit 9a57cc9

Browse files
lexmingboegel
andauthored
remove hardcoded mention to develop branch in error message
Co-authored-by: Kenneth Hoste <[email protected]>
1 parent 79e019b commit 9a57cc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

easybuild/tools/github.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,8 @@ def _easyconfigs_pr_common(paths, ecs, start_branch=None, pr_branch=None, start_
11831183
diff_stat = git_repo.git.diff(cached=True, stat=True)
11841184
if not diff_stat:
11851185
raise EasyBuildError(
1186-
"No changed files found when comparing to current develop branch. Refused to make empty pull request.",
1186+
f"No changed files found when comparing to current {start_branch} branch. "
1187+
"Refused to make empty pull request.",
11871188
exit_code=EasyBuildExit.FAIL_GITHUB
11881189
)
11891190

0 commit comments

Comments
 (0)