Skip to content

Incorrect directory creation error with using boiler command#77

Open
ballsten wants to merge 1 commit intomikeal:masterfrom
ballsten:fix-boiler-error
Open

Incorrect directory creation error with using boiler command#77
ballsten wants to merge 1 commit intomikeal:masterfrom
ballsten:fix-boiler-error

Conversation

@ballsten
Copy link

fix error display when boiler commands tries to create app directory

couchapp boiler <appname> or
couchapp boiler .

In the first case, couchapp created the app directory in the #boiler function. In the second case, the user has already created the app directory.

Running the boiler command issued an error when trying to create the app directory. Despite the error the command still worked as expected, the error was just misleading to users, hence issue #42

copytree was attempting to create the root app directory and displaying an error. This pull request adds a check to prevent the creation of the app directory, thus removing the error output

as it is already taken care of in #boiler
Fixes issue #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant