Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
474 B
HTML
Raw Permalink Normal View History

2020-03-30 15:19:21 -07:00
{{ $type := .Get 0 }}
{{ $options := .Get 1 }}
{{ $mode := .Get 2 }}
{{ if eq $options "nodejs" }}
{{ $options = "javascript,typescript" }}
{{ end }}
{{ if not $type }}
{{ errorf "%s Missing required parameter 'type'." .Path }}
{{ end }}
{{ if not $options }}
{{ errorf "%s Missing required parameter 'options'." .Path }}
{{ end }}
<div>
<pulumi-chooser type="{{ $type }}" options="{{ $options }}" mode="{{ $mode }}">{{ .Inner }}</pulumi-chooser>
2020-03-30 15:19:21 -07:00
</div>