We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 534d7cb + 70499e3 commit bad0f06Copy full SHA for bad0f06
hack/verify-file-sizes.sh
@@ -42,7 +42,7 @@ largefiles () {
42
case "$tree" in
43
w/-text)
44
# Only binary files have a size limit.
45
- size="$(stat --printf=%s "$file")"
+ size="$(wc -c < "$file")"
46
if [ "${size}" -gt "$maxsize" ] &&
47
! kube::util::array_contains "$file" "${allowlist[@]}"; then
48
echo "$file is too large ($size bytes)"
0 commit comments