ochtra
ochtra copied to clipboard
Doesn’t work with very large files
I’m on MacOS, and noticed that this scripts fails with large files. For example, if I attempt to commit a valid 66 kB YAML file (just as a test), I get back an error message asking me to fix syntax errors. If the file size under 65 kB, it works fine.
I think that this has to do with reaching buffer limits when piping large amounts of data, but am not 100% sure.
Can you direct test https://github.com/nodeca/js-yaml that is used for checking?