lib/sifttter_redux.rb in sifttter-redux-0.4.7 vs lib/sifttter_redux.rb in sifttter-redux-0.4.8

- old
+ new

@@ -68,11 +68,11 @@ if reinit && !Configuration['db_uploader']['base_filepath'].nil? default = Configuration['db_uploader']['base_filepath'] else default = DBU_LOCAL_FILEPATH end - path = CLIMessage::prompt_for_filepath('Location for Dropbox-Uploader', default) + path = CLIMessage::prompt('Location for Dropbox-Uploader', default) path = default if path.empty? path.chop! if path.end_with?('/') # If the entered directory exists, clone the repository. if File.directory?(path) @@ -197,10 +197,10 @@ } ] pref_prompts.each do |prompt| d = reinit ? Configuration[prompt[:section]][prompt[:key]] : prompt[:default] - pref = CLIMessage::prompt_for_filepath(prompt[:prompt], d) + pref = CLIMessage::prompt(prompt[:prompt], d) Configuration[prompt[:section]].merge!(prompt[:key] => File.expand_path(pref)) CLIMessage::debug("Value for #{ prompt[:key] }: #{ pref }") end end \ No newline at end of file