Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix additional comments
  • Loading branch information
kyleconroy committed Oct 20, 2023
commit 16670c9183e348ee148703c9c3c32f4b85692ba2
2 changes: 1 addition & 1 deletion internal/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"encoding/json"
"fmt"
"hash/fnv"
"log/slog"
"os"
"path/filepath"

"golang.org/x/exp/slog"
"google.golang.org/protobuf/proto"

"github.com/sqlc-dev/sqlc/internal/analysis"
Expand Down
2 changes: 0 additions & 2 deletions internal/cmd/vet.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ func Vet(ctx context.Context, dir, filename string, opts *Options) error {
}

c := checker{
ConfigPath: configPath,
Rules: rules,
Conf: conf,
Dir: dir,
Expand Down Expand Up @@ -379,7 +378,6 @@ type rule struct {
}

type checker struct {
ConfigPath string
Rules map[string]rule
Conf *config.Config
Dir string
Expand Down