Fix pull request sample template

A null reference survived an earlier implementation.

Signed-off-by: James Turley <jamesturley1905@googlemail.com>
This commit is contained in:
James Turley
2021-04-09 10:30:30 +01:00
parent 854906e2f6
commit 0b7fd7a9d7
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Fix bug in pull request sample template.
@@ -69,8 +69,9 @@ spec:
{{#if parameters.description}}
{{parameters.description}}
{{/if}}
host: '{{parameters.host}}'
targetPath: '{{#if parameters.targetPath}}{{parameters.targetPath}}{{else}}{{parameters.name}}{{/if}}'
output:
remoteUrl: '{{steps.publish.output.remoteUrl}}'
links:
- url: '{{steps.publish.output.remoteUrl}}'
text: 'Go to PR'