Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao authored Jun 24, 2024
1 parent b33de41 commit 84f15fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/subSystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ func findExportedBinaries(internalName string) map[string]map[string]string {
return map[string]map[string]string{}
}
binPath := filepath.Join(home, ".local", "bin")
if _, err := os.Stat(binDir); os.IsNotExist(err) {
return map[string]map[string]string{}
}
if _, err := os.Stat(binPath); os.IsNotExist(err) {
return map[string]map[string]string{}
}
binDir := os.DirFS(binPath)

binaries := map[string]map[string]string{}
Expand Down

0 comments on commit 84f15fa

Please sign in to comment.