File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ function bom_pass {
483483 run cp go.sum go.sum.tmp || return 2
484484 run cp go.mod go.mod.tmp || return 2
485485
486- output=$( GOFLAGS=-mod=mod run_go_tool github.com/appscodelabs/license-bill-of-materials \
486+ output=$( run_go_tool github.com/appscodelabs/license-bill-of-materials \
487487 --override-file ./bill-of-materials.override.json \
488488 " ${modules[@]} " )
489489 code=" $? "
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function bom_fixlet {
1414 # shellcheck disable=SC2207
1515 modules=($( modules_for_bom) )
1616
17- if GOFLAGS=-mod=mod run_go_tool " github.com/appscodelabs/license-bill-of-materials" \
17+ if run_go_tool " github.com/appscodelabs/license-bill-of-materials" \
1818 --override-file ./bill-of-materials.override.json \
1919 " ${modules[@]} " > ./bill-of-materials.json.tmp; then
2020 cp ./bill-of-materials.json.tmp ./bill-of-materials.json
You can’t perform that action at this time.
0 commit comments