Skip to content

Commit

Permalink
fix:incorrect import path(GrantZheng#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantZheng authored and isala404 committed Oct 23, 2020
1 parent 19d8cd3 commit 646bea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func getImportPath(name string, key string) (string, error) {
var importPath string
// Change: here should not use os.Getwd() as projectPath
// Desc:It can't pass go test, on windows, projectPath will be "c:/User/xxx/...", this will cause err certainly.
projectPath = ""
// projectPath = ""
if projectPath == "" {
importPath = path
} else {
Expand Down

0 comments on commit 646bea4

Please sign in to comment.