mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Refactor context command (#13948)
### What problem does this PR solve? As title ### Type of change - [x] Refactoring --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ func main() {
|
||||
}()
|
||||
|
||||
// Check if we have a single command to execute
|
||||
if args.Command != "" {
|
||||
if args.Command != nil {
|
||||
// Single command mode
|
||||
if err = cliApp.RunSingleCommand(args.Command); err != nil {
|
||||
fmt.Printf("Error: %v\n", err)
|
||||
|
||||
Reference in New Issue
Block a user