Skip to content

Commit

Permalink
prevent us from eating sdkman's header logging by allowing sdkman's -…
Browse files Browse the repository at this point in the history
…-dump-headers to override ours
  • Loading branch information
jakebman committed Oct 4, 2024
1 parent aa472d0 commit eabd4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/available/curl-logging.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function _curl-logging-helper {
}

function _curl-logging {
command curl "$@" --dump-header >(_curl-logging-helper "$@")
command curl --dump-header >(_curl-logging-helper "$@") "$@"
}

function curl {
Expand Down

0 comments on commit eabd4e6

Please sign in to comment.