fix build warnings & add CI

This commit is contained in:
Maximilian Roos
2019-09-09 06:03:01 -04:00
parent 1878bb8a54
commit cf2c19706e
3 changed files with 4 additions and 2 deletions

View File

@ -114,7 +114,7 @@ pub fn config(
let key = v.to_string();
if result.contains_key(&key) {
result.remove(&key);
result.swap_remove(&key);
config::write_config(&result)?;
} else {
return Err(ShellError::string(&format!(

View File

@ -435,7 +435,7 @@ pub fn view_contents_interactive(
let cursor = cursor();
let _ = cursor.show();
let screen = RawScreen::disable_raw_mode();
let _screen = RawScreen::disable_raw_mode();
Ok(())
}