Skip to content

Commit

Permalink
fix go vet issue (#127)
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Hofstetter <marco.hofstetter@bluewin.ch>

Signed-off-by: Marco Hofstetter <marco.hofstetter@bluewin.ch>
  • Loading branch information
mhofstetter committed Nov 17, 2022
1 parent 1887cca commit 6d0b9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analyzer/analyzer.go
Expand Up @@ -73,7 +73,7 @@ func runAnalysis(pass *analysis.Pass) (interface{}, error) {

for _, file := range fileReferences {
filePath := file.Name()
unmodifiedFile, formattedFile, err := gci.LoadFormatGoFile(io.File{filePath}, *gciCfg)
unmodifiedFile, formattedFile, err := gci.LoadFormatGoFile(io.File{FilePath: filePath}, *gciCfg)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 6d0b9f7

Please sign in to comment.