Move NeverSudoSystemCommand to separate file.

This commit is contained in:
Markus Reiter 2017-02-09 04:17:14 +01:00
parent a616fab5bf
commit a9e538efbd
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -1,3 +1,5 @@
require "hbc/system_command"
module Hbc
class NeverSudoSystemCommand < SystemCommand
def self.run(command, options = {})