Skip to content

Commit b5d5bc8

Browse files
lexmingboegel
andauthored
use VALUE_ERROR as exit code for wrong download_repo
Co-authored-by: Kenneth Hoste <[email protected]>
1 parent 1b4e95a commit b5d5bc8

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
@@ -404,7 +404,7 @@ def download_repo(repo=GITHUB_EASYCONFIGS_REPO, branch=None, commit=None, accoun
404404
latest_commit_sha = fetch_latest_commit_sha(repo, account, branch, github_user=github_user)
405405
else:
406406
raise EasyBuildError(
407-
"Either branch or commit should be specified in download_repo", exit_code=EasyBuildExit.OPTION_ERROR
407+
"Either branch or commit should be specified in download_repo", exit_code=EasyBuildExit.VALUE_ERROR
408408
)
409409

410410
expected_path = os.path.join(path, extracted_dir_name)

0 commit comments

Comments
 (0)