Skip to content

Commit

Permalink
chore: remove commented line
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-ibra committed Jun 21, 2024
1 parent e47b1e3 commit 5155bb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prompts/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ func EditFileValidatedByFullContent(prompt, content string, fileValidate func(co
lines := strings.Split(string(partsBytes), "\n")

finalLines, _ := stripCommentsAndValidateLines(lines, nil)
//content := strings.TrimRight(strings.Join(finalLines, separator), separator)
content := strings.Join(finalLines, "\n")
if fileValidate != nil {
if err = fileValidate(content); err != nil {
Expand Down

0 comments on commit 5155bb7

Please sign in to comment.