Skip to content

Commit

Permalink
Fixed searching of workspace on Windows. (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
excitoon authored and philwo committed May 16, 2019
1 parent 8cd2a93 commit 09f6899
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bazelisk.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
"os/exec"
"os/signal"
"path"
"path/filepath"
"regexp"
"runtime"
"sort"
Expand All @@ -47,7 +48,7 @@ func findWorkspaceRoot(root string) string {
return root
}

parentDirectory := path.Dir(root)
parentDirectory := filepath.Dir(root)
if parentDirectory == root {
return ""
}
Expand Down

0 comments on commit 09f6899

Please sign in to comment.