Skip to content

Commit

Permalink
fix: directory mapping for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelFoleyFZ committed Sep 28, 2024
1 parent 7527c2b commit 4e60b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/post-command
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if [[ -z "${discovered_modules_list}" ]]; then
fi

for module in ${discovered_modules_list}; do
discovered_modules+=("${module/"${PWD}/${MODULE_DIR}/"/""}")
discovered_modules+=("${module#*${MODULE_DIR}}")
done

echo ":building_construction: Discovered modules - $(printf '%s ' "${discovered_modules[@]}")"
Expand Down

0 comments on commit 4e60b1f

Please sign in to comment.