Skip to content

Commit c81e4e9

Browse files
committed
tools: fix noreturn attribute usage in cmd/tools/vgit-fmt-hook.v
1 parent ba1cfcc commit c81e4e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cmd/tools/vgit-fmt-hook.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn hash_file(path string) !string {
144144
return sum256.hex()
145145
}
146146

147-
@[no_return]
147+
@[noreturn]
148148
fn err_exit(msg string) {
149149
eprintln('> error: ${msg} .')
150150
exit(0) // note: this is important, since the command is ran in `v up` and during `make`

0 commit comments

Comments
 (0)