lib/synvert/cli.rb in synvert-0.18.2 vs lib/synvert/cli.rb in synvert-0.18.3

- old
+ new

@@ -144,11 +144,11 @@ end # List and print all available rewriters. def list_available_rewriters if Core::Rewriter.availables.empty? - puts 'There is no snippet under ~/.synvert, please run `synvert --sync` to fetch snippets.' + puts 'There is no snippet under ~/.synvert-ruby, please run `synvert-ruby --sync` to fetch snippets.' return end if plain_output? Core::Rewriter.availables.each do |group, rewriters| @@ -324,10 +324,10 @@ File.write("lib/#{group}/#{name}.rb", lib_content) File.write("spec/#{group}/#{name}_spec.rb", spec_content) end def default_snippets_home - ENV['SYNVERT_SNIPPETS_HOME'] || File.join(ENV['HOME'], '.synvert') + ENV['SYNVERT_SNIPPETS_HOME'] || File.join(ENV['HOME'], '.synvert-ruby') end def plain_output? @options[:format] == 'plain' end