Skip to content

Commit

Permalink
Fix environment getting
Browse files Browse the repository at this point in the history
  • Loading branch information
niezbop authored and Paul Niezborala committed Jul 4, 2019
1 parent c40aabe commit ca5deab
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 @@ -145,7 +145,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 ca5deab

Please sign in to comment.