mirror of https://github.com/databricks/cli.git
lowercase variable
This commit is contained in:
parent
a064d91ac5
commit
43da63bc50
|
@ -73,16 +73,16 @@ func (f *syncFlags) syncOptionsFromArgs(cmd *cobra.Command, args []string) (*syn
|
||||||
log.Warnf(ctx, "Failed to read git info: %s", err)
|
log.Warnf(ctx, "Failed to read git info: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var WorktreeRoot vfs.Path
|
var worktreeRoot vfs.Path
|
||||||
|
|
||||||
if info.WorktreeRoot == "" {
|
if info.WorktreeRoot == "" {
|
||||||
WorktreeRoot = localRoot
|
worktreeRoot = localRoot
|
||||||
} else {
|
} else {
|
||||||
WorktreeRoot = vfs.MustNew(info.WorktreeRoot)
|
worktreeRoot = vfs.MustNew(info.WorktreeRoot)
|
||||||
}
|
}
|
||||||
|
|
||||||
opts := sync.SyncOptions{
|
opts := sync.SyncOptions{
|
||||||
WorktreeRoot: WorktreeRoot,
|
WorktreeRoot: worktreeRoot,
|
||||||
LocalRoot: localRoot,
|
LocalRoot: localRoot,
|
||||||
Paths: []string{"."},
|
Paths: []string{"."},
|
||||||
Include: nil,
|
Include: nil,
|
||||||
|
|
Loading…
Reference in New Issue