Skip to content

Commit

Permalink
Update error message when missing site creds
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldotyu committed Jun 30, 2021
1 parent f383af7 commit 118f441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ function DownloadFile($filePath) {
Invoke-WebRequest $zipUri -OutFile $filePath
} else {
if ([string]::IsNullOrEmpty($zipUsername)) {
throw "Missing REDCap Community site username. Please try an alternate method to host your ZIP file."
throw "Missing REDCap Community site username."
}

if ([string]::IsNullOrEmpty($zipPassword)) {
throw "Missing REDCap Community site password. Please try an alternate method to host your ZIP file."
throw "Missing REDCap Community site password."
}

if ([string]::IsNullOrEmpty($zipVersion)) {
Expand Down

0 comments on commit 118f441

Please sign in to comment.