Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
await-ovo committed Nov 22, 2023
1 parent c2b121c commit b8193b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions crates/cli/tests/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ use pacquet_testing_utils::{
use pipe_trait::Pipe;
use std::{
fs::{self, OpenOptions},
io::Write, path::Path,
io::Write,
path::Path,
};

#[test]
Expand Down Expand Up @@ -183,7 +184,7 @@ fn should_install_circular_dependencies() {

eprintln!("Executing command...");
pacquet.with_arg("install").assert().success();

assert!(workspace.join("./node_modules/@pnpm.e2e/circular-deps-1-of-2").exists());
assert!(workspace.join("./node_modules/.pnpm/@pnpm.e2e+circular-deps-1-of-2@1.0.2").exists());
assert!(workspace.join("./node_modules/.pnpm/@pnpm.e2e+circular-deps-2-of-2@1.0.2").exists());
Expand Down
4 changes: 2 additions & 2 deletions crates/package-manager/src/install_without_lockfile.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::InstallPackageFromRegistry;
use async_recursion::async_recursion;
use futures_util::future;
use dashmap::DashSet;
use futures_util::future;
use node_semver::Version;
use pacquet_network::ThrottledClient;
use pacquet_npmrc::Npmrc;
Expand All @@ -11,7 +11,7 @@ use pacquet_tarball::MemCache;
use pipe_trait::Pipe;

/// In-memory cache for packages that have started resolving dependencies.
///
///
/// The contents of set is the package's virtual_store_name.
/// e.g. @pnpm.e2e/dep-1@1.0.0 -> @pnpm.e2e+dep-1@1.0.0
pub type ResolvedPackages = DashSet<String>;
Expand Down

0 comments on commit b8193b5

Please sign in to comment.