tools: typograf: exit code

This commit is contained in:
He4eT 2023-12-09 09:41:33 +01:00
commit 727a003d00

View file

@ -3,7 +3,7 @@ import { readFileSync, writeFile } from 'fs'
if (!process.argv[2]) { if (!process.argv[2]) {
console.log('Usage:\n node typograf file [locale]') console.log('Usage:\n node typograf file [locale]')
return process.exit(1)
} }
const filePath = const filePath =