Skip to content

Commit 6c1e6a7

Browse files
fix fallback cypress fallback to print warning first
1 parent a5e7d93 commit 6c1e6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cypress_on_rails/middleware.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def call(env)
1919
if request.path.start_with?("#{configuration.api_prefix}/__e2e__/command")
2020
configuration.tagged_logged { handle_command(request) }
2121
elsif request.path.start_with?("#{configuration.api_prefix}/__cypress__/command")
22-
configuration.tagged_logged { handle_command(request) }
2322
warn "/__cypress__/command is deprecated. Please use the install generator to use /__e2e__/command instead."
23+
configuration.tagged_logged { handle_command(request) }
2424
else
2525
@app.call(env)
2626
end

0 commit comments

Comments
 (0)