Skip to content

Commit

Permalink
CliContext interface update. NoOp (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
macneale4 authored Jan 2, 2025
1 parent d5ac00c commit 55c7b8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,8 @@ func (c configCliContext) QueryEngine(ctx context.Context) (cli.Queryist, *sql.C
return nil, nil, nil, fmt.Errorf("ConfigCliContext does not support QueryEngine()")
}

func (c configCliContext) WorkingDir() filesys.Filesys {
panic("runtime error:ConfigCliContext does not support WorkingDir() in this context")
}

var _ cli.CliContext = configCliContext{}

0 comments on commit 55c7b8f

Please sign in to comment.