Simplify cleanup and ignoring of generated go files

This commit is contained in:
Kovid Goyal 2022-08-16 21:59:42 +05:30
parent 780b5ca8bd
commit c85af36116
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
5 changed files with 9 additions and 9 deletions

View file

@ -131,7 +131,7 @@ def main():
elif action == 'test':
test_kitty()
elif action == 'gofmt':
q = subprocess.check_output('gofmt -s -l tools version.go'.split())
q = subprocess.check_output('gofmt -s -l tools'.split())
if q.strip():
print(q.decode())
raise SystemExit(1)