Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
(FACT-2570) Rework condition for external dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Irimie committed Apr 23, 2020
1 parent ddd2ab4 commit aaaaad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/framework/core/options/option_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def ruby=(bool)
end

def external_dir
return @config_file_external_dir unless @external_dir.any? && @external_facts && @config_file_external_dir.any?
return @default_external_dir if @external_dir.empty? && @external_facts
return @config_file_external_dir unless @external_dir.any?

@external_dir
end
Expand Down

0 comments on commit aaaaad9

Please sign in to comment.