From 4374befa424183064b2e3c07279cd31643a237bd Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Thu, 2 Apr 2026 03:07:42 +0200 Subject: [PATCH] refactor: remove AX_DB_PATH env var support from store layer Co-Authored-By: Claude Sonnet 4.6 --- src/store/graph_store_sqlite.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/store/graph_store_sqlite.go b/src/store/graph_store_sqlite.go index d3ffe1e..fbbfae0 100644 --- a/src/store/graph_store_sqlite.go +++ b/src/store/graph_store_sqlite.go @@ -77,12 +77,6 @@ func FindAndOpenSQLiteStore() (GraphStore, error) { // mode: if no .ax.db is found it creates and initialises one in the current // working directory instead of returning an error. func FindOrInitSQLiteStore() (GraphStore, error) { - if dbpath := os.Getenv("AX_DB_PATH"); dbpath != "" { - if err := InitSQLiteStore(dbpath); err != nil { - return nil, err - } - return NewSQLiteStore(dbpath) - } dir, err := filepath.Abs(".") if err != nil { return nil, err