This commit is contained in:
Félix Saparelli 2022-01-16 01:44:11 +13:00
parent 63f9eedfec
commit e40b426930
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ use watchexec::{
pub async fn dirs(args: &ArgMatches<'static>) -> Result<(PathBuf, PathBuf)> {
let mut origins = HashSet::new();
for path in args.values_of("paths").unwrap_or_default().into_iter() {
for path in args.values_of("paths").unwrap_or_default() {
let path = canonicalize(path).into_diagnostic()?;
origins.extend(project::origins(&path).await);
}