bin/code in code-ruby-0.15.12 vs bin/code in code-ruby-0.15.13

- old
+ new

@@ -62,10 +62,13 @@ options[:profiler] = profiler end end .parse! -options[:input] = argv.join(" ") if options[:input].empty? +if options[:input].empty? + options[:input] = argv.join(" ") + options[:input] = File.read(options[:input]) if File.exist?(options[:input]) +end abort <<~HELP if options[:input].empty? Usage: code INPUT -v, --version Version of Code