We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35eea21 + 003ebcd commit a5b89baCopy full SHA for a5b89ba
internal/leetcode/question_data.go
@@ -160,6 +160,7 @@ func (question questionType) SaveCodeSnippet() {
160
var buf bytes.Buffer
161
buf.WriteString(fmt.Sprintf("package %s\n\n", question.PackageName()))
162
buf.WriteString(code.Code)
163
+ buf.WriteString("\n")
164
filePutContents(file, buf.Bytes())
165
buf.Reset()
166
// match function name
0 commit comments