Skip to content

Commit

Permalink
fix typo in dynamic_include message (#9978)
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <me@emillon.org>
  • Loading branch information
emillon authored Feb 12, 2024
1 parent 0367711 commit a07e950
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/dune_rules/dune_file.ml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ module Eval = struct
Memo.push_stack_frame
~human_readable_description:(fun () ->
Pp.textf
"dynamic_include %s in directroy %s"
"dynamic_include %s in directory %s"
(Include_stanza.file_path include_context loc include_file
|> Path.build
|> Path.drop_optional_build_context
Expand Down
6 changes: 3 additions & 3 deletions test/blackbox-tests/test-cases/dynamic-include-stanza/cycle.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

$ dune build
Error: Dependency cycle between:
dynamic_include b/dune in directroy a
-> dynamic_include a/dune in directroy b
-> dynamic_include b/dune in directroy a
dynamic_include b/dune in directory a
-> dynamic_include a/dune in directory b
-> dynamic_include b/dune in directory a
-> required by alias default
[1]

0 comments on commit a07e950

Please sign in to comment.