lib/dev/Environment.rb in dev-1.0.81 vs lib/dev/Environment.rb in dev-1.0.82
- old
+ new
@@ -71,10 +71,10 @@
return ENV['COMPUTERNAME']
end
machine = `hostname`
machine = machine.split('.')[0] if machine.include?('.')
- return machine
+ return machine.strip
#return "unknown"
end
end