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

Commit

Permalink
Fix :cache option
Browse files Browse the repository at this point in the history
  • Loading branch information
florindragos committed Apr 23, 2020
1 parent 89d39d3 commit 46287f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/framework/core/options/option_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class OptionStore
@external_dir = []
@external_facts = true
@ruby = true
@cache = true
@blocked_facts = []
@user_query = []

Expand Down Expand Up @@ -150,6 +151,7 @@ def reset
@blocked_facts = []
@user_query = []
@cli = nil
@cache = true
end
end
end
Expand Down
3 changes: 2 additions & 1 deletion spec/framework/core/options/option_store_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
trace: false,
user_query: [],
verbose: false,
config: nil
config: nil,
cache: true
)
end
end
Expand Down

0 comments on commit 46287f1

Please sign in to comment.