diff --git a/src/pack.rs b/src/pack.rs index c530bc0..fc6f8c7 100644 --- a/src/pack.rs +++ b/src/pack.rs @@ -76,9 +76,7 @@ pub async fn pack(options: PackOptions) -> Result<()> { for package in packages { match package { - Package::Conda(p) => { - conda_packages_from_lockfile.push(p) - } + Package::Conda(p) => conda_packages_from_lockfile.push(p), Package::Pypi(_) => { if options.ignore_pypi_errors { tracing::warn!( diff --git a/tests/integration_test.rs b/tests/integration_test.rs index fed7f1a..c73bc37 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -175,7 +175,7 @@ async fn test_includes_repodata_patches(options: Options) { // in this example, the `libzlib` entry in the `python-3.12.3-h2628c8c_0_cpython.conda` // package is `libzlib >=1.2.13,<1.3.0a0`, but the upstream repodata was patched to - // `libzlib >=1.2.13,<2.0.0a0` which is represeted in the `pixi.lock` file + // `libzlib >=1.2.13,<2.0.0a0` which is represented in the `pixi.lock` file assert!( repodata .conda_packages