Added GeneratorUtilities.prototype.isBaseDirExists function. #613

Merged
merged 1 commit into from Mar 4, 2014

Projects

None yet

2 participants

@attomos
attomos commented Mar 4, 2014

Prevent compound to create base directory when it already exists.

Today I just ran into problem when I have blog directory in my working directory.
I fired up compound init blog && cd blog and see this directory is kinda weird there are Gemfile, Rakefile and other Rails stuffs mixed with compound files.

So this commit fixed that.

P.S. I saw coding styles are not consistent, we could use jshint or some linter 😃

@attomos attomos Added GeneratorUtilities.prototype.isBaseDirExists function.
Prevent compound to not create base directory when it already exists.
f31d44e
@1602
Owner
1602 commented Mar 4, 2014

Cool. Thanks.

@1602 1602 merged commit 5c3b77c into 1602:master Mar 4, 2014

1 check passed

Details default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment