Skip to content

Commit

Permalink
style(kratos): solute lint error in project.go.
Browse files Browse the repository at this point in the history
  • Loading branch information
qzwxsaedc committed Aug 4, 2023
1 parent 5cdf905 commit d5bbfc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kratos/internal/project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func run(_ *cobra.Command, args []string) {
return
}

packagePath, err := filepath.Rel(projectRoot, filepath.Join(workingDir, projectName))
if err != nil {
packagePath, e := filepath.Rel(projectRoot, filepath.Join(workingDir, projectName))
if e != nil {
done <- fmt.Errorf("🚫 failed to get relative path: %v", err)
return
}
Expand Down

0 comments on commit d5bbfc9

Please sign in to comment.