Skip to content

Commit

Permalink
Fix errors on succesful export / import #565
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Jan 24, 2023
1 parent d003a9d commit 4e7a7a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ See [STATUS.md](server/STATUS.md) to learn more about which features will remain
- Fix index issue happening when deleting a single property in a sorted collection #545
- Update JS assets & playwright
- Fix initial indexing bug #560
- Fix errors on succesful export / import #565

## [v0.34.0] - 2022-10-31

Expand Down
3 changes: 2 additions & 1 deletion server/src/bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ async fn main() -> () {
eprintln!("{}: {}", "Error".red(), e.message);
std::process::exit(1);
}
std::process::exit(0);
}

async fn main_wrapped() -> errors::AtomicServerResult<()> {
Expand Down Expand Up @@ -86,7 +87,7 @@ async fn main_wrapped() -> errors::AtomicServerResult<()> {
appstate.store.import(&readstring, &parse_opts)?;

println!("Sucesfully imported {:?} to store.", import_opts.file);
std::process::exit(0);
Ok(())
}
Some(config::Command::ShowConfig) => {
println!("{:#?}", config);
Expand Down

0 comments on commit 4e7a7a6

Please sign in to comment.