Script is not compatible with Windows systems #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
While attempting to build some CodeMirror repositories locally with
npm run prepare, I noticed that the formatting didn't apply (e.g. comments were not converted to JSDoc).I managed to investigate the root-cause down to this script, which I have found is not compatible with Windows systems.
For example, here are a couple changes I made to
readAndMangleComments:\r?.\for file path, as opposed to/on Unix, so replacing the file name when doing the directory search is hacky but works.I am opening this issue mostly to document the behaviour, as it might help others who get stuck in this. 🙂