Skip to content

Commit

Permalink
Hide URL on CI even with verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Apr 12, 2024
1 parent a55fef1 commit b6c3937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/src/RequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public static function download_file( string $url, string $file_path ): void {

$start = microtime( true );
curl_exec( $curl );
if ( $output->isVerbose() ) {
if ( $output->isVerbose() && ! is_ci() ) {
$output->writeln( sprintf( 'Downloaded %s in %f seconds.', $url, microtime( true ) - $start ) );
}
$curl_error = curl_error( $curl );
Expand Down

0 comments on commit b6c3937

Please sign in to comment.