fix: cargo fmt added to create_release

This commit is contained in:
Jack Wills
2022-04-25 02:53:14 +00:00
parent 3fb48abb87
commit bb29c0ebfa
7 changed files with 18 additions and 21 deletions
+1
View File
@@ -193,6 +193,7 @@ release_flow() {
ask_changelog_update
git checkout -b "$RELEASE_BRANCH"
update_cargo_toml
cargo fmt
git add .
git commit -m "chore: release $NEW_TAG_VERSION"
git checkout main
-3
View File
@@ -31,7 +31,6 @@ impl AppData {
}
}
// Current time as unix timestamp
fn get_systemtime(&self) -> u64 {
SystemTime::now()
@@ -40,7 +39,6 @@ impl AppData {
.as_secs()
}
/// Get the current select docker command
/// So know which command to execute
pub fn get_docker_command(&self) -> Option<DockerControls> {
@@ -388,7 +386,6 @@ impl AppData {
self.logs_parsed = true;
}
pub fn update_all_logs(&mut self, all_logs: Vec<Vec<String>>) {
for (index, output) in all_logs.into_iter().enumerate() {
self.update_log_by_index(output, index);
-1
View File
@@ -231,7 +231,6 @@ pub fn draw_logs<B: Backend>(
.block(block)
.alignment(Alignment::Center);
f.render_widget(paragraph, area)
} else if let Some(index) = index {
let items = app_data.lock().containers.items[index]
.logs