Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Aug 1, 2024
1 parent 58dbe14 commit 0f85662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/gguf-parser/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import (

"github.com/gpustack/gguf-parser-go/util/anyx"
"github.com/gpustack/gguf-parser-go/util/json"
"github.com/gpustack/gguf-parser-go/util/osx"
"github.com/gpustack/gguf-parser-go/util/signalx"
"github.com/olekukonko/tablewriter"
"github.com/urfave/cli/v2"

. "github.com/gpustack/gguf-parser-go" // nolint: stylecheck
"github.com/gpustack/gguf-parser-go/util/osx"
)

var Version = "v0.0.0"
Expand Down Expand Up @@ -698,7 +698,7 @@ func run(ctx context.Context) error {
if raw {
w := os.Stdout
if rawOutput != "" {
f, err := osx.CreateFile(rawOutput, 0666)
f, err := osx.CreateFile(rawOutput, 0o666)
if err != nil {
return fmt.Errorf("failed to create file: %w", err)
}
Expand Down

0 comments on commit 0f85662

Please sign in to comment.