xml-js icon indicating copy to clipboard operation
xml-js copied to clipboard

Inferring file type for non-lowercase filenames

Open asafh opened this issue 5 years ago • 0 comments

Hi, When using the CLI on a filename whose extension is not fully lowercase (e.g. npx xml-js TEST.XML) the CLI fails to recognize the file type and exits without any output or error code.
I've added also an error print and error code for (legitimately) unrecognized file extensions.

Thanks for this project.

asafh avatar Jan 08 '20 17:01 asafh