Skip to content

Commit

Permalink
fix(web): NPE when no scopes provided (spinnaker#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert authored and danielpeach committed May 24, 2018
1 parent 2eab038 commit 5a30e0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PipelineTemplateService {
}

List<Map> findByScope(List<String> scopes) {
front50Service.getPipelineTemplates((String[]) scopes.toArray())
front50Service.getPipelineTemplates((String[]) scopes?.toArray())
}

Map resolve(String source) {
Expand Down

0 comments on commit 5a30e0e

Please sign in to comment.