Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <[email protected]>
  • Loading branch information
gfanton committed Feb 12, 2025
1 parent 2643bff commit b55ba87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gno.land/pkg/gnoweb/webclient_html.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"io"
"log/slog"
"path"
gopath "path"
"strings"

Expand Down Expand Up @@ -231,7 +230,7 @@ func (s *HTMLWebClient) FormatSource(w io.Writer, fileName string, src []byte) e
var lexer chroma.Lexer

// Determine the lexer to be used based on the file extension.
switch strings.ToLower(path.Ext(fileName)) {
switch strings.ToLower(gopath.Ext(fileName)) {
case ".gno":
lexer = lexers.Get("go")
case ".md":
Expand Down

0 comments on commit b55ba87

Please sign in to comment.