Skip to content
This repository was archived by the owner on Aug 10, 2025. It is now read-only.

Commit 2b3be2d

Browse files
committed
Correct syntax
1 parent 050c97c commit 2b3be2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/rexer/commands/switch.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def initialize
77

88
def call(env)
99
return if no_lock_file_found
10-
return if already_on(env)
10+
return if already_in(env)
1111

1212
Uninstall.new.call
1313
Install.new.call(env)
@@ -23,9 +23,9 @@ def no_lock_file_found
2323
}
2424
end
2525

26-
def already_on(env)
26+
def already_in(env)
2727
(lock_definition.env == env).tap do |result|
28-
puts "Already on #{env} environment" if result
28+
puts "Already in #{env} environment" if result
2929
end
3030
end
3131
end

0 commit comments

Comments
 (0)