jonathantorres / construct

A PHP project/micro-package generator for PDS compliant projects or micro-packages.
MIT License
266 stars 16 forks source link

Avoid constructing into existing project directory. #214

Closed raphaelstolt closed 6 years ago

raphaelstolt commented 6 years ago

Fix for #212.

In the InteractiveCommand the exists directory check should prolly already be done in the projectNameQuestion validator to abort as early as possible. This might require visibility changes of Construct\Construct->saveProjectNames and Construct\Constructors\Src->projectDirectoryExists.

jonathantorres commented 6 years ago

Thanks!