Skip to content

Commit

Permalink
Warn instead of raising an error when host and installer versions do …
Browse files Browse the repository at this point in the history
…not match
  • Loading branch information
bacongravy committed Nov 17, 2018
1 parent 56bc800 commit 9069c98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/macinbox/actions/create_image_from_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def check_macos_versions
Logger.info "Host macOS version detected: #{host_os_version}" if @debug

if installer_os_version_major != host_os_version_major || installer_os_version_minor != host_os_version_minor
raise Macinbox::Error.new("host OS version (#{host_os_version}) and installer OS version (#{installer_os_version}) do not match")
Logger.error "Warning: host OS version (#{host_os_version}) and installer OS version (#{installer_os_version}) do not match"
# raise Macinbox::Error.new("host OS version (#{host_os_version}) and installer OS version (#{installer_os_version}) do not match")
end
end
end
Expand Down

0 comments on commit 9069c98

Please sign in to comment.