mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
2e85bd3bb1
commit
84a904a355
|
@ -19,7 +19,7 @@ type LocalClient struct {
|
||||||
|
|
||||||
func NewLocalClient(root string) (Filer, error) {
|
func NewLocalClient(root string) (Filer, error) {
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
return &LocalClient{root: WindowsRootPath{root}}, nil
|
return &LocalClient{root: NewWindowsRootPath("/")}, nil
|
||||||
}
|
}
|
||||||
return &LocalClient{
|
return &LocalClient{
|
||||||
root: NewUnixRootPath(root),
|
root: NewUnixRootPath(root),
|
||||||
|
|
Loading…
Reference in New Issue