Skip to content

Commit 1bc07f7

Browse files
committed
Fix error
1 parent c1dac29 commit 1bc07f7

File tree

1 file changed

+4
-2
lines changed
  • crates/turborepo-lib/src/query

1 file changed

+4
-2
lines changed

crates/turborepo-lib/src/query/mod.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -705,10 +705,12 @@ impl RepositoryQuery {
705705
)?
706706
.expect("set allow unknown objects to false");
707707

708-
Ok(change_result
708+
let files = change_result
709709
.into_iter()
710710
.map(|file| File::new(self.run.clone(), self.run.repo_root().resolve(&file)))
711-
.collect())
711+
.collect::<Result<Vec<_>, _>>()?;
712+
713+
Ok(Array::from(files))
712714
}
713715

714716
/// Gets a list of packages that match the given filter

0 commit comments

Comments
 (0)