mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 02:18:27 +00:00
updated method name in cli-utils
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user