diff options
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,6 +16,7 @@ func main() { var args []string var noninteractive bool var err error + var tables = ReadTableNames() if len(os.Args) > 1 { noninteractive = true @@ -51,7 +52,6 @@ Running debby with any other arguments will run it as a dolt command.` // Menu loop. 1. Run query 2. Edit a table 3. Execute Dolt command 4. Exit for { - tables := ReadTableNames() // Execute choice switch choice { @@ -79,7 +79,7 @@ Running debby with any other arguments will run it as a dolt command.` // Exit return } - + tables = ReadTableNames() // Refresh table names // If noninteractive, exit if noninteractive { return |
