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
Linecook init isn't smart enough to figure out it should generate in the pwd.
mkdir dir
cd dir
linecook init .
already exists: .../dir
Even worse:
linecook init
/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/gems/linecook-1.1.0/lib/linecook/commands/command.rb:50:in `process': wrong number of arguments (0 for 1) (ArgumentError)
from /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/gems/linecook-1.1.0/lib/linecook/commands/command.rb:50:in `call'
from /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/gems/linecook-1.1.0/bin/linecook:60
from /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/bin/linecook:19:in `load'
from /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/bin/linecook:19
The text was updated successfully, but these errors were encountered:
Currently difficult to fix. The init command is not a true generator - it doesn't know how to handle conflicts. At present it avoids the issue by not overwriting existing directories and providing the --force option to remove the existing directory and then go forth.
Linecook init isn't smart enough to figure out it should generate in the pwd.
Even worse:
The text was updated successfully, but these errors were encountered: