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

Fetch automatically logging to console #79

Closed
jonohewitt opened this issue May 14, 2021 · 1 comment
Closed

Fetch automatically logging to console #79

jonohewitt opened this issue May 14, 2021 · 1 comment

Comments

@jonohewitt
Copy link

When using the fetch command, $ fetch and the parameters, (e.g the URL and options like method, body, headers) are logged to the console automatically. This is causing issues for some scripts where the output needs to be clean as it gets parsed by another programme. A hacky workaround I've been using is to redefine console.log to a blank function before using fetch and restore afterwards. Is there another way to prevent the logging?

Specifications

  • Version: 1.6.0
  • Platform: macOS Big Sur
@jonohewitt
Copy link
Author

Apologies, just discovered $.verbose which works as intended. Thanks for all the work on this project!

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

No branches or pull requests

1 participant