Skip to content

Commit

Permalink
Fix random test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
greeneca committed Apr 19, 2018
1 parent 3f9eb94 commit 41f8ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roku_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ module RokuBuilder
# @param options [Hash] The options hash
def self.run(options: nil)
@@options = nil
@@dev = false
setup_plugins
setup_options(options: options)
return unless @@options
Expand Down Expand Up @@ -75,6 +74,7 @@ def self.plugins
end

def self.register_plugin(plugin)
@@dev ||= false
@@plugins ||= []
@@plugins.delete(plugin) if @@dev
@@plugins << plugin
Expand Down

0 comments on commit 41f8ced

Please sign in to comment.