Skip to content

Commit

Permalink
go-module.eclass: add a way to allow go mod verify to be nonfatal
Browse files Browse the repository at this point in the history
Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
williamh committed Nov 18, 2022
1 parent 9f378b9 commit b0a4dff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eclass/go-module.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@ go-module_src_unpack() {
default
if [[ ! -d "${S}"/vendor ]]; then
cd "${S}"
ego mod verify
local nf
[[ -n ${NONFATAL_VERIFY} ]] && nf=nonfatal
${nf} ego mod verify
fi
fi
}
Expand Down

0 comments on commit b0a4dff

Please sign in to comment.