Skip to content

Commit eef251e

Browse files
author
José Valim
committed
Update docs and typespecs for lock_status, closes #7125
1 parent f6a017d commit eef251e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mix/lib/mix/scm.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ defmodule Mix.SCM do
9696
9797
The lock is sent via `opts[:lock]` but it may not always be
9898
available. In such cases, if the SCM requires a lock, it must
99-
return `:lockmismatch`, otherwise simply `:ok`.
99+
return `:mismatch`, otherwise simply `:ok`.
100100
101101
Note the lock may also belong to another SCM and as such, an
102102
structural check is required. A structural mismatch should always
103103
return `:outdated`.
104104
"""
105-
@callback lock_status(opts) :: :mismatch | :outdated | :nolock | :ok
105+
@callback lock_status(opts) :: :mismatch | :outdated | :ok
106106

107107
@doc """
108108
Receives two options and must return `true` if they refer to the

0 commit comments

Comments
 (0)