Skip to content
Browse files

simplified cast (from explicit to implicit) to integer

  • Loading branch information...
1 parent 23bc920 commit de10537ddee90d397305f9673fda8cc270552269 @theonewolf theonewolf committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/visage-app
View
2 bin/visage-app
@@ -4,7 +4,7 @@ require 'pathname'
require 'socket'
fqdn = Socket.gethostbyname(Socket.gethostname).first
-port = Integer(ENV.fetch('VISAGE_PORT', 9292))
+port = ENV.fetch('VISAGE_PORT', 9292)
$stdout.sync = true
@root = (Pathname.new(__FILE__).parent.parent + 'lib').expand_path
$: << @root.to_s

0 comments on commit de10537

Please sign in to comment.
Something went wrong with that request. Please try again.