Skip to content

Commit

Permalink
Merge pull request #59 from BohuTANG/dev-fix-empty
Browse files Browse the repository at this point in the history
fix: completion is empty
  • Loading branch information
BohuTANG authored Apr 22, 2023
2 parents 8db3e4e + 5b1a141 commit ad7d94e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/dal/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ impl DatabendDriver {
now.elapsed().as_secs()
);

Ok(vec![completion])
if completion.is_empty() {
Ok(vec![])
} else {
Ok(vec![completion])
}
}
}

1 comment on commit ad7d94e

@vercel
Copy link

@vercel vercel bot commented on ad7d94e Apr 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.