1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 03:45:02 +01:00
Files
source-to-image/hack/verify-imports.sh
Corey Daley 48f25bd76c adding goio
2023-03-16 00:59:17 -04:00

9 lines
266 B
Bash
Executable File

#!/bin/bash
bad_files=$(go run ./vendor/github.com/go-imports-organizer/goio -l)
if [[ -n "${bad_files}" ]]; then
echo "!!! goio needs to be run on the following files:"
echo "${bad_files}"
echo "Try running 'make imports'"
exit 1
fi