Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: warn when Hanami or Rails are not detected #216

Closed
wants to merge 1 commit into from

Conversation

bf4
Copy link
Contributor

@bf4 bf4 commented Apr 17, 2024

I started noticing "Hanami not detected" lately. I'm not sure exactly what to recommend here, perhaps only output anything when ENV["CI"] == "true" or something like that.. but I think preferring warn -> stderr over puts -> stdout is a good start to lower the shoutiness of it.

I started noticing "Hanami not detected" lately.  I'm not sure exactly what to recommend here, perhaps only output anything when `ENV["CI"] == "true"` or something like that.. but I think preferring warn -> stderr over puts -> stdout is a good start to lower the shoutiness of it.
Copy link

codecov bot commented Apr 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 97.22%. Comparing base (3394219) to head (0c2575c).

Files Patch % Lines
lib/rspec/openapi.rb 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #216   +/-   ##
=======================================
  Coverage   97.22%   97.22%           
=======================================
  Files          20       20           
  Lines         612      612           
  Branches      133      133           
=======================================
  Hits          595      595           
  Misses         17       17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@exoego
Copy link
Owner

exoego commented Apr 17, 2024

Thanks.
Superseded by #217

@exoego exoego closed this Apr 17, 2024
@bf4 bf4 deleted the patch-3 branch April 17, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants