Skip to content

Commit 55c7b8f

Browse files
authored
CliContext interface update. NoOp (#1097)
1 parent d5ac00c commit 55c7b8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/server.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,4 +257,8 @@ func (c configCliContext) QueryEngine(ctx context.Context) (cli.Queryist, *sql.C
257257
return nil, nil, nil, fmt.Errorf("ConfigCliContext does not support QueryEngine()")
258258
}
259259

260+
func (c configCliContext) WorkingDir() filesys.Filesys {
261+
panic("runtime error:ConfigCliContext does not support WorkingDir() in this context")
262+
}
263+
260264
var _ cli.CliContext = configCliContext{}

0 commit comments

Comments
 (0)