Skip to content

Commit ccb4e77

Browse files
albertywuCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 4828802 commit ccb4e77

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tool/protoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ if [[ ! -x "${protoc_bin}" ]]; then
7878
exit 1
7979
fi
8080
else
81-
echo "tool/protoc: no pinned checksum for ${version}:${plat}; add one to tool/protoc" >&2
81+
echo "tool/protoc: no pinned checksum for ${version}:${plat}; refusing to run unverified download" >&2
8282
echo " (downloaded sha256: $(sha256 "${tmp}/protoc.zip"))" >&2
83+
exit 1
8384
fi
8485
rm -rf "${install_dir}"
8586
mkdir -p "${install_dir}"

0 commit comments

Comments
 (0)