lib/carbon/cli.rb in carbon-1.0.3 vs lib/carbon/cli.rb in carbon-1.0.4
- old
+ new
@@ -14,9 +14,9 @@
require 'carbon/cli/emitter'
require 'carbon/cli/irb'
require 'conversions'
if File.exist?(dotfile = File.join(ENV['HOME'], '.carbon_middleware'))
- if (key = IO.read(dotfile).strip).present?
+ if (key = File.read(dotfile).strip).present?
::Carbon.key = key
end
end