Skip to content

Commit

Permalink
Merge pull request #627 from mystor/fix_build_error
Browse files Browse the repository at this point in the history
Fix mistyped typename
  • Loading branch information
mystor authored Jul 23, 2024
2 parents 65feab6 + d22f1e4 commit 0f4db3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2052,7 +2052,7 @@ fn cmd_diff(out: &Arc<dyn Out>, cfg: &Config, sub_args: &DiffArgs) -> Result<(),
version2: version2.clone(),
});

if sub_args.mode != FetchMode::Local
if sub_args.mode != DiffFetchMode::Local
&& version1.git_rev.is_none()
&& version2.git_rev.is_none()
{
Expand Down

0 comments on commit 0f4db3c

Please sign in to comment.