From 55c7b8f223ef6371ec56e3ee92cdeba7f8a6f450 Mon Sep 17 00:00:00 2001 From: Neil Macneale IV <46170177+macneale4@users.noreply.github.com> Date: Thu, 2 Jan 2025 12:04:23 -0800 Subject: [PATCH] CliContext interface update. NoOp (#1097) --- server/server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/server.go b/server/server.go index 9a4d21539d..f6ac6a8745 100644 --- a/server/server.go +++ b/server/server.go @@ -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{}