From c8560b4854766f920ff10f5668b9f4dfa322425d Mon Sep 17 00:00:00 2001 From: max furman Date: Wed, 10 Nov 2021 23:23:10 -0800 Subject: [PATCH] updated method name in cli-utils --- templates/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/templates.go b/templates/templates.go index 3a708731..e760f0a4 100644 --- a/templates/templates.go +++ b/templates/templates.go @@ -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)) }