Skip to content

Commit 16bf181

Browse files
committed
fix: dont check if db exists on --check
1 parent 90a6e14 commit 16bf181

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fn main() -> Result<()> {
7777
.init();
7878

7979
// Check if the database exists
80-
if !args.database.exists() {
80+
if !args.database.exists() && !args.download && !args.check {
8181
bail!("Database does not exist. Use --download to download the database");
8282
}
8383

0 commit comments

Comments
 (0)