Skip to content

Commit 0115206

Browse files
committed
Add back return
1 parent 9c64d18 commit 0115206

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/fpm/cmd/publish.f90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ subroutine cmd_publish(settings)
8181
do i = 1, size(upload_data)
8282
print *, upload_data(i)%s
8383
end do
84+
return
8485
end if
8586

8687
! Make sure a token is provided for publishing.
@@ -97,7 +98,8 @@ subroutine cmd_publish(settings)
9798
if (settings%is_dry_run) then
9899
print *, 'Dry run successful.'
99100
print *, ''
100-
print *, 'tarball generated for upload: ', tmp_file; return
101+
print *, 'tarball generated for upload: ', tmp_file
102+
return
101103
end if
102104

103105
call downloader%upload_form(official_registry_base_url//'/packages', upload_data, error)

0 commit comments

Comments
 (0)