pieterclaerhout/go-james

go-james clean removes complete project directory

shizonic opened this issue · 3 comments

If I run go-james clean the whole directory (e.g. /home/tm/code/github/shizonic/go-web) gets removed instead of only the build folder inside.

Is that with the latest commit?

Can you check your go-james.json file? The property "output" under "build" was incorrectly named "ouput". I've fixed this in 727fad5, so you might need to update your go-james.json file.

In the meantime, I've added some checks to prevent this from happening in the first place…

Thanks for the quick reply. I just wanted to make a PR because of multiple typos, but you fixed it before.

Guess go-james clean is now fixed too. Thanks for the hotfix. :)