Skip to content

Commit 909694c

Browse files
committed
chore: gofmt fs.go
Signed-off-by: Jose Alekhinne <alekhinejose@gmail.com>
1 parent 61c7abb commit 909694c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal/cli/initialize

internal/cli/initialize/fs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func findInsertionPoint(content string) int {
9898
// Returns:
9999
// - error: Non-nil if the markers are not found or file operations fail
100100
func updateCtxSection(
101-
cmd *cobra.Command, existing string, newTemplate []byte,
101+
cmd *cobra.Command, existing string, newTemplate []byte,
102102
) error {
103103
green := color.New(color.FgGreen).SprintFunc()
104104

@@ -125,7 +125,7 @@ func updateCtxSection(
125125
return fmt.Errorf("template missing ctx markers")
126126
}
127127
ctxContent := templateStr[templateStart : templateEnd+
128-
len(config.CtxMarkerEnd)]
128+
len(config.CtxMarkerEnd)]
129129

130130
// Build new content: before ctx + new ctx content + after ctx
131131
newContent := existing[:startIdx] + ctxContent + existing[endIdx:]

0 commit comments

Comments
 (0)