Skip to content

Commit

Permalink
ci(shellcheck): fix exit code propagation (#64)
Browse files Browse the repository at this point in the history
Return properly the exit code status of shellcheck command when looping
through shell script files.
  • Loading branch information
tiborsimko committed Jan 26, 2024
1 parent 548f3e1 commit 8a2a7fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion run-tests.sh
Expand Up @@ -28,7 +28,7 @@ check_commitlint () {
}

check_shellcheck () {
find . -name "*.sh" -exec shellcheck {} \;
find . -name "*.sh" -exec shellcheck {} \+
}

check_pydocstyle () {
Expand Down
4 changes: 2 additions & 2 deletions start.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#!/usr/bin/env bash

# This file is part of REANA.
# Copyright (C) 2017, 2018, 2021, 2023 CERN.
# Copyright (C) 2017, 2018, 2021, 2023, 2024 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand Down

0 comments on commit 8a2a7fc

Please sign in to comment.