We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61c7abb commit 909694cCopy full SHA for 909694c
1 file changed
internal/cli/initialize/fs.go
@@ -98,7 +98,7 @@ func findInsertionPoint(content string) int {
98
// Returns:
99
// - error: Non-nil if the markers are not found or file operations fail
100
func updateCtxSection(
101
- cmd *cobra.Command, existing string, newTemplate []byte,
+ cmd *cobra.Command, existing string, newTemplate []byte,
102
) error {
103
green := color.New(color.FgGreen).SprintFunc()
104
@@ -125,7 +125,7 @@ func updateCtxSection(
125
return fmt.Errorf("template missing ctx markers")
126
}
127
ctxContent := templateStr[templateStart : templateEnd+
128
- len(config.CtxMarkerEnd)]
+ len(config.CtxMarkerEnd)]
129
130
// Build new content: before ctx + new ctx content + after ctx
131
newContent := existing[:startIdx] + ctxContent + existing[endIdx:]
0 commit comments