Skip to content

Commit

Permalink
fix shellcheck references
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoremepunto committed Oct 19, 2023
1 parent 9c4d3b5 commit 3251754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [ -z "$CICD_BOOTSTRAP_SKIP_GIT_CLONE" ]; then
fi
fi

# shellcheck source=src/main.sh
# shellcheck source=src/load_module.sh
source "$CICD_BOOTSTRAP_ROOTDIR/src/load_module.sh" "$@" || exit 1
if [[ -z "$CICD_BOOTSTRAP_SKIP_CLEANUP" ]] && ! cicd::bootstrap::cleanup; then
echo "couldn't perform cicd tools cleanup!"
Expand Down
2 changes: 1 addition & 1 deletion src/load_module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ fi

readonly CICD_LOADER_SCRIPTS_DIR

# shellcheck source=src/shared/loader.sh
if ! source "${CICD_LOADER_SCRIPTS_DIR}/shared/loader.sh"; then
echo "Error loading 'loader' module!"
exit 1
fi

# TODO: undo all loader module stuff
cicd::loader::load_module "$1"

0 comments on commit 3251754

Please sign in to comment.