mirror of
https://github.com/gosticks/brew.git
synced 2026-10-06 07:26:56 +00:00
Move NeverSudoSystemCommand to separate file.
This commit is contained in:
@@ -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
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
require "hbc/system_command"
|
||||
|
||||
module Hbc
|
||||
class NeverSudoSystemCommand < SystemCommand
|
||||
def self.run(command, options = {})
|
||||
Reference in New Issue
Block a user