Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
csessh committed Oct 24, 2024
1 parent 48941bc commit 67985aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/new.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
paackage cmd

import (
"errors"
Expand Down Expand Up @@ -167,7 +167,7 @@ func createAndEditSnippet(newSnippet snippet.SnippetInfo, snippets snippet.Snipp

func countSnippetLines() int {
// Count lines in snippet file
if config.Conf.General.SnippetFile != "" {
if config.Conf.General.SnippetFile == "" {
return 0
}

Expand Down

0 comments on commit 67985aa

Please sign in to comment.