diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-12-14 10:55:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 10:55:56 +0100 |
commit | 4b6fc646467b9705550ca5750fa86923ec6c9af2 (patch) | |
tree | f85d9e59f477cc11b0c08d7d5d110d202453c163 /cli/tools/registry/tar.rs | |
parent | 5b96f7bf21392620f0047687ec3b75b25b7ea9f2 (diff) |
chore(unstable/publish): ordered publish of packages in workspace (#21550)
Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'cli/tools/registry/tar.rs')
-rw-r--r-- | cli/tools/registry/tar.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/registry/tar.rs b/cli/tools/registry/tar.rs index 418a5b0fd..7d03e10a6 100644 --- a/cli/tools/registry/tar.rs +++ b/cli/tools/registry/tar.rs @@ -6,13 +6,13 @@ use deno_core::error::AnyError; use deno_core::url::Url; use hyper::body::Bytes; use std::io::Write; -use std::path::PathBuf; +use std::path::Path; use tar::Header; use crate::util::import_map::ImportMapUnfurler; pub fn create_gzipped_tarball( - dir: PathBuf, + dir: &Path, // TODO(bartlomieju): this is too specific, factor it out into a callback that // returns data unfurler: ImportMapUnfurler, |