Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 2c92fa2

Browse files
authored
Update main.go
1 parent 9aa3375 commit 2c92fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func main() {
1212
path := flag.String("path", "", "Table persistence path")
1313
flag.Parse()
1414

15-
if (len(path) >= 1){
15+
if (len(*path) > 0){
1616
result := chdb.Session(string(*query), string(*format), string(*path))
1717
fmt.Println(result)
1818
} else {

0 commit comments

Comments
 (0)