Skip to content

Commit 7241461

Browse files
committed
chore(ort-utils): Remove a superfluous empty line
Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 18ddeed commit 7241461

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

utils/ort/src/main/kotlin/OkHttpClientHelper.kt

-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ fun OkHttpClient.downloadFile(url: String, directory: File): Result<File> {
155155
// expecting to find a tar.gz file, and fail to unpack the archive. See
156156
// https://github.com/square/okhttp/blob/parent-3.10.0/okhttp/src/main/java/okhttp3/internal/http/BridgeInterceptor.java#L79
157157
return download(url, acceptEncoding = "identity").mapCatching { (response, body) ->
158-
159158
// Depending on the server, we may only get a useful target file name when looking at the response
160159
// header or at a redirected URL. In case of the Crates registry, for example, we want to resolve
161160
// https://crates.io/api/v1/crates/cfg-if/0.1.9/download

0 commit comments

Comments
 (0)