File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ function bom_pass {
509
509
log_callout " Checking bill of materials..."
510
510
# https://github.com/golang/go/commit/7c388cc89c76bc7167287fb488afcaf5a4aa12bf
511
511
# shellcheck disable=SC2207
512
- modules=($( modules_exp ) )
512
+ modules=($( modules_for_bom ) )
513
513
514
514
# Internally license-bill-of-materials tends to modify go.sum
515
515
run cp go.sum go.sum.tmp || return 2
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ function modules() {
196
196
echo " ${modules[@]} "
197
197
}
198
198
199
- function modules_exp () {
199
+ function modules_for_bom () {
200
200
for m in $( modules) ; do
201
201
echo -n " ${m} /... "
202
202
done
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function bom_fixlet {
12
12
13
13
local modules
14
14
# shellcheck disable=SC2207
15
- modules=($( modules_exp ) )
15
+ modules=($( modules_for_bom ) )
16
16
17
17
if GOFLAGS=-mod=mod run_go_tool " github.com/appscodelabs/license-bill-of-materials" \
18
18
--override-file ./bill-of-materials.override.json \
You can’t perform that action at this time.
0 commit comments