summaryrefslogtreecommitdiff
path: root/cli/http_util.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-11-24 00:38:07 +0100
committerGitHub <noreply@github.com>2023-11-23 23:38:07 +0000
commit585cf2de89f1d253bc14e0835790445d14e324f3 (patch)
tree901234e85d502d960c0cb3126367ca78d17b3225 /cli/http_util.rs
parent778e4c971077e38bf8f7d03b8b299d3dd111ba22 (diff)
feat(unstable): tar up directory with deno.json (#21228)
Co-authored-by: David Sherret <dsherret@gmail.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'cli/http_util.rs')
-rw-r--r--cli/http_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs
index e90e0ee96..e121f2a50 100644
--- a/cli/http_util.rs
+++ b/cli/http_util.rs
@@ -259,7 +259,7 @@ impl HttpClient {
result
}
- fn client(&self) -> Result<&reqwest::Client, AnyError> {
+ pub(crate) fn client(&self) -> Result<&reqwest::Client, AnyError> {
self.cell.get_or_try_init(|| {
create_http_client(
get_user_agent(),