forked from TrueCloudLab/certificates
updated method name in cli-utils
This commit is contained in:
parent
9d4a7cf9fc
commit
c8560b4854
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ func (o *Output) Write() error {
|
|||
case Snippet:
|
||||
return fileutil.WriteSnippet(path, o.Content, 0600)
|
||||
case Line:
|
||||
return fileutil.WriteLine(path, o.Content, 0600)
|
||||
return fileutil.PrependLine(path, o.Content, 0600)
|
||||
default:
|
||||
return errors.Errorf("unexpected output template type %s", string(o.Type))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue