Skip to content

Commit 1867a02

Browse files
Remove outdated comment in databricks sync command (#3176)
The comment is over 2 years old and no longer is relevant.
1 parent 9e80067 commit 1867a02

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

cmd/sync/sync.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -199,22 +199,7 @@ func New() *cobra.Command {
199199
var opts *sync.SyncOptions
200200
var err error
201201

202-
//
203-
// To be uncommented and used once our VS Code extension is bundle aware.
204-
// Until then, this could interfere with extension usage where a `databricks.yml` file is present.
205-
// See https://github.com/databricks/cli/pull/207.
206-
//
207-
// b := bundle.GetOrNil(cmd.Context())
208-
// if b != nil {
209-
// // Run initialize phase to make sure paths are set.
210-
// err = bundle.Apply(cmd.Context(), b, phases.Initialize())
211-
// if err != nil {
212-
// return err
213-
// }
214-
// opts, err = syncOptionsFromBundle(cmd, args, b)
215-
// } else {
216202
opts, err = f.syncOptionsFromArgs(cmd, args)
217-
// }
218203
if err != nil {
219204
return err
220205
}

0 commit comments

Comments
 (0)