Skip to content

Commit b91229b

Browse files
authored
fix: avoid bash expansion when generating json (#49)
1 parent 0eaf44e commit b91229b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kaybee/internal/tasks/data/default_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export:
167167
{{ $source_path := .Metadata.LocalPath }}
168168
[ -f {{ $source_path }}/changed-source-code.tar.gz ] && tar -xf {{ $source_path }}/changed-source-code.tar.gz -C ./{{ .VulnerabilityID }}
169169
170-
cat << EOM > ./{{ .VulnerabilityID }}/metadata.json
170+
cat << 'EOM' > ./{{ .VulnerabilityID }}/metadata.json
171171
{{ .ToJSON }}
172172
EOM
173173
{{ if .Fixes}}{{ $description := or ((index .Notes 0).Text) "" }}

0 commit comments

Comments
 (0)