Skip to content

Commit

Permalink
fix: swtich to use bin_dir again
Browse files Browse the repository at this point in the history
  • Loading branch information
tricky42 committed Jan 3, 2025
1 parent 94f718e commit 0c1db19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions licenses/list-licenses
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ if [ -f go.mod ]; then
echo "No Go modules found" >&2
else
# Workaround until https://github.com/google/go-licenses/issues/307 is fixed
# .bin/go-licenses report "$module_name" --template .bin/license-template-go.tpl 2>/dev/null
# "${bin_dir}"/go-licenses report "$module_name" --template "${bin_dir}"/license-template-go.tpl 2>/dev/null
#
echo "$go_modules" | xargs -I {} sh -c '.bin/go-licenses report --template .bin/license-template-go.tpl {}' | grep -v '^$'
echo "$go_modules" | xargs -I {} sh -c '"${bin_dir}"/go-licenses report --template "${bin_dir}"/license-template-go.tpl {}' | grep -v '^$'
echo
fi
fi

0 comments on commit 0c1db19

Please sign in to comment.