Skip to content

Commit

Permalink
chore: remove unused header dump (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn authored Dec 12, 2023
1 parent 375e5db commit 9fc0477
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions oci/private/download.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def _download(
# ...
curl_version = version_result.stdout.split(" ")[1]

headers_output_path = str(rctx.path(".output/header.txt"))
output_path = str(rctx.path(".output/{}".format(output)))
command = [
"curl",
Expand All @@ -94,8 +93,6 @@ def _download(
"--create-dirs",
"--output",
output_path,
"--dump-header",
headers_output_path,
]

# Detect more flags which may be supported based on changelog:
Expand All @@ -108,7 +105,6 @@ def _download(
command.append("{}: {}".format(name, value))

command.extend(_auth_to_header(url, auth))
rctx.file(headers_output_path)

result = rctx.execute(command)
_debug("""\nSTDOUT\n{}\nSTDERR\n{}""".format(result.stdout, result.stderr))
Expand Down

0 comments on commit 9fc0477

Please sign in to comment.