Skip to content

Commit a7097ae

Browse files
committed
Improve error message for git dependencies
1 parent c3823ce commit a7097ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fpm/cmd/publish.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ subroutine cmd_publish(settings)
5757
! Check if package contains git dependencies. Only publish packages without git dependencies.
5858
do i = 1, model%deps%ndep
5959
if (allocated(model%deps%dep(i)%git)) then
60-
call fpm_stop(1, "Do not publish packages containing git dependencies. '"//model%deps%dep(i)%name//"' is a git dependency.")
60+
call fpm_stop(1, 'Do not publish packages containing git dependencies. '// &
61+
& "Please upload '"//model%deps%dep(i)%name//"' to the registry first.")
6162
end if
6263
end do
6364

0 commit comments

Comments
 (0)