Skip to content

Commit c7ae4af

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ def new_pr_from_branch(branch_name, title=None, descr=None, pr_target_repo=None,
19911991
print_msg('\n'.join(msg), log=_log)
19921992
else:
19931993
raise EasyBuildError(
1994-
"No changes in '%s' branch compared to current 'develop' branch!", branch_name,
1994+
f"No changes in '{branch_name}' branch compared to current '{pr_target_branch}' branch!",
19951995
exit_code=EasyBuildExit.FAIL_GITHUB
19961996
)
19971997

0 commit comments

Comments
 (0)