Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Apr 8, 2024
1 parent 8cb9f34 commit b32634e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion crates/turborepo-lib/src/run/scope/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,6 @@ mod test {
use test_case::test_case;
use turbopath::{AbsoluteSystemPathBuf, AnchoredSystemPathBuf, RelativeUnixPathBuf};
use turborepo_repository::{
change_mapper::ChangeMapError,
discovery::PackageDiscovery,
package_graph::{PackageGraph, PackageName, ROOT_PKG_NAME},
package_json::PackageJson,
Expand Down
2 changes: 0 additions & 2 deletions crates/turborepo-lockfiles/src/pnpm/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,6 @@ mod tests {
const PNPM_V7_PEER: &[u8] = include_bytes!("../../fixtures/pnpm-v7-peer.yaml").as_slice();
const PNPM_V7_PATCH: &[u8] = include_bytes!("../../fixtures/pnpm-v7-patch.yaml").as_slice();

use std::any::Any;

use super::*;
use crate::{Lockfile, Package};

Expand Down
2 changes: 1 addition & 1 deletion crates/turborepo-scm/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ mod tests {
// Create a file nested in subdir
fs::create_dir_all(repo_root.path().join("subdir"))?;
let new_file = repo_root.path().join("subdir").join("baz.js");
fs::write(&new_file, "let x = 2;")?;
fs::write(new_file, "let x = 2;")?;

// The new directory and files are not yet committed, they shouldn't show up.
let files = changed_files(
Expand Down

0 comments on commit b32634e

Please sign in to comment.