DOS file under unix #23

Closed
rogerz opened this Issue Nov 26, 2013 · 2 comments

3 participants

@rogerz

Under ubuntu 13.10

Linux FC-lab 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 17:26:33 UTC 2013 i686 i686 i686 GNU/Linux

When I generate a project with yo node, all the files are in DOS format with \r\n as line ending, e.g. package.json, Gruntfile.js and etc.

I tried other generator such as generator-chrome-extension but didn't meet the same issue.

When I open the original template files under ~/.nvm/v0.10.22/lib/node_modules/generator-node, they are in DOS format. But the templates in other node modules are unix format.

Any hint?

@huei90

Are you still having this issue now ? or other generator ?

@rogerz

Didn't follow it for a long time. I'll reopen it if I met it again. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment