You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming ~/Project exists, mkdir fails when a new project attempts to be created
[~] liftoff
Project name? Project
Company name? Mark Adams
Author name? Mark Adams
Prefix? MA
/Users/Mark/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:245:in `mkdir': File exists - Project (Errno::EEXIST)
from /Users/Mark/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:245:in `fu_mkdir'
from /Users/Mark/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:174:in `block in mkdir'
from /Users/Mark/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:173:in `each'
from /Users/Mark/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:173:in `mkdir'
from /Users/Mark/Development/Ruby/liftoff/lib/liftoff/file_manager.rb:6:in `create_project_dir'
from /Users/Mark/Development/Ruby/liftoff/lib/liftoff/launchpad.rb:14:in `liftoff'
from /Users/Mark/Development/Ruby/liftoff/lib/liftoff/cli.rb:11:in `run'
from ./bin/liftoff:9:in `<main>'
The text was updated successfully, but these errors were encountered:
The problem is the un-handled error. I would expect to be presented with a message that there is an existing directory with this name and then be given the option to write over it.
Assuming
~/Project
exists, mkdir fails when a new project attempts to be createdThe text was updated successfully, but these errors were encountered: