Skip to content

Commit 5ce06c3

Browse files
committed
Adds auto generated comment to top of output file
1 parent 5c638de commit 5ce06c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ func cliHandle(inputLocation string, inputByGroupLocation string, outputWriter i
113113

114114
sciolyffDump := sciolyff.GenerateSciolyFF(*overallResTable, groupResTable)
115115

116+
outputWriter.Write([]byte("###\n# This YAML file was auto-generated by avocado2sciolyff " + semanticVersion + "\n###\n"))
116117
yamlEncoder := yaml.NewEncoder(outputWriter)
117118
yamlEncoder.SetIndent(2)
118119
err := yamlEncoder.Encode(&sciolyffDump)

0 commit comments

Comments
 (0)