Skip to content

Commit

Permalink
Check for repo client before updating collection
Browse files Browse the repository at this point in the history
  • Loading branch information
drbruce-git committed Jun 13, 2019
1 parent f105f0b commit 82959bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Build/zAppBuild/utilities/ImpactUtilities.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,11 @@ def createImpactResolver(String changedFile, String rules, RepositoryClient repo
}

def updateCollection(changedFiles, deletedFiles, RepositoryClient repositoryClient) {

if (!repositoryClient) {
if (props.verbose) println "** Unable to update collections. No repository client."
return
}

if (props.verbose) println "** Updating collection ${props.applicationCollectionName}"
def scanner = new DependencyScanner()
List<LogicalFile> logicalFiles = new ArrayList<LogicalFile>()
Expand Down

0 comments on commit 82959bb

Please sign in to comment.