Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Aug 20, 2024
1 parent 76535e2 commit eeb3448
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions crates/turborepo-lib/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ impl Query {
opts.scope_opts.affected_range = Some((base, head));

Ok(RunBuilder::calculate_filtered_packages(
&self.run.repo_root(),
self.run.repo_root(),
&opts,
&self.run.pkg_dep_graph(),
&self.run.scm(),
&self.run.root_turbo_json(),
self.run.pkg_dep_graph(),
self.run.scm(),
self.run.root_turbo_json(),
)?
.into_iter()
.map(|package| Package {
Expand Down
8 changes: 4 additions & 4 deletions crates/turborepo-lib/src/run/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ impl RunBuilder {
) -> Result<HashSet<PackageName>, Error> {
let (mut filtered_pkgs, is_all_packages) = scope::resolve_packages(
&opts.scope_opts,
&repo_root,
&pkg_dep_graph,
&scm,
&root_turbo_json,
repo_root,
pkg_dep_graph,
scm,
root_turbo_json,
)?;

if is_all_packages {
Expand Down
6 changes: 3 additions & 3 deletions turborepo-tests/integration/tests/affected.t
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Do the same thing with the `ls` command
WARNING ls command is experimental and may change in the future
1 package (npm)

my-app apps/my-app
my-app apps[\/\\]my-app (re)


Do the same thing with the `query` command
Expand Down Expand Up @@ -72,7 +72,7 @@ Do the same thing with the `ls` command
WARNING ls command is experimental and may change in the future
1 package (npm)

my-app apps/my-app
my-app apps[\/\\]my-app (re)


Do the same thing with the `query` command
Expand Down Expand Up @@ -175,7 +175,7 @@ Do the same thing with the `ls` command
WARNING ls command is experimental and may change in the future
1 package (npm)
my-app apps/my-app
my-app apps[\/\\]my-app (re)
Do the same thing with the `query` command
Expand Down

0 comments on commit eeb3448

Please sign in to comment.