bin/nanoc-select in nanoc-3.1.4 vs bin/nanoc-select in nanoc-3.1.5

- old
+ new

@@ -78,8 +78,9 @@ list($stderr) exit 1 end # Switch -version_file_path = File.expand_path('~/.nanoc-select-version') +version_file_path = File.join(ENV['APPDATA'] || ENV['HOME'], '.nanoc-select-version') +p version_file_path File.open(version_file_path, 'w') { |io| io.write(version.to_s + "\n") } puts "Switched to nanoc version #{version}."