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
|
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
|
module Hbc
|
||||||
class NeverSudoSystemCommand < SystemCommand
|
class NeverSudoSystemCommand < SystemCommand
|
||||||
def self.run(command, options = {})
|
def self.run(command, options = {})
|
||||||
Loading…
x
Reference in New Issue
Block a user