Skip to content

Commit ba48980

Browse files
authoredMar 18, 2025··
Fix Mix.Utils.write_json_tree!/4 spec (#14345)
1 parent 3baf987 commit ba48980

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎lib/mix/lib/mix/utils.ex

+2-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ defmodule Mix.Utils do
305305
If the `:output` option is `-` then prints to standard output,
306306
see write_according_to_opts!/3 for details.
307307
"""
308-
@spec write_json_tree!(Path.t(), [node], (node -> {formatted_node, [node]}), keyword) :: :ok
308+
@spec write_json_tree!(Path.t(), [node], (node -> {formatted_node, [node]}), keyword) ::
309+
Path.t()
309310
when node: term()
310311
def write_json_tree!(default_file_spec, nodes, callback, opts \\ []) do
311312
src_map = build_json_tree(_src_map = %{}, nodes, callback)

0 commit comments

Comments
 (0)
Please sign in to comment.