Move NeverSudoSystemCommand to separate file.
This commit is contained in:
parent
a616fab5bf
commit
a9e538efbd
@ -66,11 +66,3 @@ RSpec.configure do |config|
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module Hbc
|
||||
class NeverSudoSystemCommand < SystemCommand
|
||||
def self.run(command, options = {})
|
||||
super(command, options.merge(sudo: false))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
require "hbc/system_command"
|
||||
|
||||
module Hbc
|
||||
class NeverSudoSystemCommand < SystemCommand
|
||||
def self.run(command, options = {})
|
||||
Loading…
x
Reference in New Issue
Block a user