Skip to content

Commit

Permalink
B #3058: Move pre_action into VMMAD module
Browse files Browse the repository at this point in the history
(cherry picked from commit 94c88b4)
  • Loading branch information
dann1 authored and rsmontero committed Mar 26, 2019
1 parent 308d304 commit d820d44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vnm_mad/remotes/lib/vnm_driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@ def self.parse_options(string)
options
end

# Returns true if the driver is executing action pre
def self.pre_action?
File.basename($PROGRAM_NAME) == 'pre'
end
end

# Returns true if the driver is executing action pre
def self.pre_action?
File.basename($PROGRAM_NAME) == 'pre'
end

end

0 comments on commit d820d44

Please sign in to comment.