Optimize the display of the hack/verify-import-aliases.sh

Signed-off-by: zhzhuang-zju <m17799853869@163.com>
This commit is contained in:
zhzhuang-zju 2024-02-06 17:11:51 +08:00
parent 0aec7b58dc
commit c2483841dd
2 changed files with 2 additions and 1 deletions

View File

@ -260,7 +260,7 @@ func main() {
a := newAnalyzer()
for _, dir := range c.dirs {
if isTerminal {
fmt.Printf("\r\033[0m %-80s", dir)
fmt.Printf("\r\033[0m %-80s\n", dir)
}
a.collect(dir)
}

View File

@ -39,3 +39,4 @@ if [[ $ret -ne 0 ]]; then
echo "!!! Please see hack/.import-aliases for the preferred aliases for imports." >&2
exit 1
fi
echo "Passed import-aliases verification."