Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/mix/lib/mix/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ defmodule Mix.Utils do
If the `:output` option is `-` then prints to standard output,
see write_according_to_opts!/3 for details.
"""
@spec write_json_tree!(Path.t(), [node], (node -> {formatted_node, [node]}), keyword) :: :ok
@spec write_json_tree!(Path.t(), [node], (node -> {formatted_node, [node]}), keyword) ::
Path.t()
when node: term()
def write_json_tree!(default_file_spec, nodes, callback, opts \\ []) do
src_map = build_json_tree(_src_map = %{}, nodes, callback)
Expand Down
Loading