Skip to content

Commit

Permalink
Fix environment getting
Browse files Browse the repository at this point in the history
  • Loading branch information
niezbop committed Dec 3, 2018
1 parent b95078c commit 6cbeb01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/u3d/unity_versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ class << self
def list_available(os: nil)
os ||= U3dCore::Helper.operating_system

additional_pages = ENV['U3D_ADDITIONAL_PAGES'].split(',') || []
additional_pages_env = ENV['U3D_ADDITIONAL_PAGES']
additional_pages = additional_pages_env ? additional_pages_env.split(',') : []

case os
when :linux
Expand Down

0 comments on commit 6cbeb01

Please sign in to comment.