Commit 7a94787f authored by Grzegorz Bizon's avatar Grzegorz Bizon

Use `warn` instead of `$stderr.puts` in QA selectors test

parent 9910968f
...@@ -15,7 +15,7 @@ module QA ...@@ -15,7 +15,7 @@ module QA
validators.map(&:errors).flatten.tap do |errors| validators.map(&:errors).flatten.tap do |errors|
break if errors.none? break if errors.none?
$stderr.puts <<~EOS warn <<~EOS
GitLab QA sanity selectors validation test detected problems GitLab QA sanity selectors validation test detected problems
with your merge request! with your merge request!
...@@ -40,7 +40,7 @@ module QA ...@@ -40,7 +40,7 @@ module QA
EOS EOS
$stderr.puts errors warn errors
end end
validators.each(&:validate!) validators.each(&:validate!)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment