Skip to content

Commit

Permalink
Update ImportGraph/Cli.lean
Browse files Browse the repository at this point in the history
Co-authored-by: Kim Morrison <[email protected]>
  • Loading branch information
joneugster and kim-em authored Sep 2, 2024
1 parent 8128754 commit 581e55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImportGraph/Cli.lean
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def importGraphCLI (args : Cli.Parsed) : IO UInt32 := do
let includeStd := args.hasFlag "include-std" || includeLean
let includeDeps := args.hasFlag "include-deps" || includeStd

-- `directDeps` are excempt from being filtered out.
-- `directDeps` are exempt from being filtered out.
let directDeps := if args.hasFlag "mark-module" then
graph.fold (fun acc n deps => if toModule.isPrefixOf n then
-- append all dependencies of `n` which are not in the module
Expand Down

0 comments on commit 581e55d

Please sign in to comment.