Describe the bug
If all entries are created by webapp, it wouldn't create entries.csv file,feed will pass it:
|
let table = entry.path().join(EntryPaths::entries_csv()); |
|
if !table.exists() { |
|
continue; |
|
} |
this will cause a runtime error:
|
fs::write(temp_file, map)?; |
|
|
|
meili_exec::feed_documents(&conf.search_url, &entry_type)?; |
|
meili_exec::feed_settings(&conf.search_url, &define)?; |
|
|
|
info!("done '{:}' feed", &entry_type); |
|
} |
|
|
|
fs::remove_file(temp_file)?; |
remove temp file after loop, but it hasn't the tmp file beacuse all entry_type has not entries.csv
Steps to reproduce (please include code)
Environment
- quake version:
- Rust version:
- OS: [e.g. OSX 10.13.4, Windows 10]
Describe the bug
If all entries are created by webapp, it wouldn't create
entries.csvfile,feed will pass it:quake/src/cli/quake_action.rs
Lines 82 to 85 in 846a8dd
this will cause a runtime error:
quake/src/cli/quake_action.rs
Lines 96 to 104 in 846a8dd
remove temp file after loop, but it hasn't the tmp file beacuse all entry_type has not entries.csv
Steps to reproduce (please include code)
Environment