lib/license_acceptance/acceptor.rb in license-acceptance-1.0.19 vs lib/license_acceptance/acceptor.rb in license-acceptance-2.0.0
- old
+ new
@@ -74,10 +74,10 @@
end
end
@acceptance_value = accepted_silent? ? ACCEPT_SILENT : ACCEPT
true
elsif config.output.isatty && prompt_strategy.request(missing_licenses) do
- # We have to infer the acceptance value if they use the prompt to accept
+ # We have to infer the acceptance value if they use the prompt to accept
if config.persist
@acceptance_value = ACCEPT # rubocop: disable Lint/AssignmentInCondition
file_strategy.persist(product_relationship, missing_licenses)
else
@acceptance_value = ACCEPT_NO_PERSIST # rubocop: disable Lint/AssignmentInCondition