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
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)