lib/terraspace/compiler/commands_concern.rb in terraspace-0.6.11 vs lib/terraspace/compiler/commands_concern.rb in terraspace-0.6.12

- old
+ new

@@ -9,10 +9,10 @@ end def command_is?(*commands) commands.flatten! commands.map!(&:to_s) - commands.include?(ARGV[0]) || # IE: terraspace up - ARGV[0] == "all" && commands.include?(ARGV[1]) # IE: terraspace all up + commands.include?(Terraspace.argv[0]) || # IE: terraspace up + Terraspace.argv[0] == "all" && commands.include?(Terraspace.argv[1]) # IE: terraspace all up end end end