ericmdantas / generator-ng-fullstack

Client, server or fullstack - it's up to you. ng-fullstack gives you the best of the latest.
MIT License
704 stars 103 forks source link

Project created in parent directory #44

Closed FreakTheMighty closed 9 years ago

FreakTheMighty commented 9 years ago

I'm not sure if I'm missing something, but when I run the generator the project is created in the parent. For example,

mkdir /tmp/whoop
cd /tmp/whoop
yo ng-fullstack

The project is created in /tmp

FreakTheMighty commented 9 years ago

My mistake, there was a .yo-rc.json in the tree, removing it fixed the problem.

ericmdantas commented 9 years ago

That's weird. Was the .yo-rc.json generated by yo ng-fullstack or was it already there?

Because if it was already there, it's cool.

But if it was created by ng-fullstack, there are some info there that the generator will use to create your stuff (sub generators).

FreakTheMighty commented 9 years ago

I must have run the generator in tmp to start. I cleaned up visible files, but not dot files.

On Tue, Jun 23, 2015, 4:34 AM Eric Mendes Dantas notifications@github.com wrote:

That's weird. Was the .yo-rc.json generated by yo ng-fullstack or was it already there?

— Reply to this email directly or view it on GitHub https://github.com/ericmdantas/generator-ng-fullstack/issues/44#issuecomment-114456607 .

ericmdantas commented 9 years ago

Alright =]