fix: cargo fmt added to create_release
This commit is contained in:
@@ -193,6 +193,7 @@ release_flow() {
|
|||||||
ask_changelog_update
|
ask_changelog_update
|
||||||
git checkout -b "$RELEASE_BRANCH"
|
git checkout -b "$RELEASE_BRANCH"
|
||||||
update_cargo_toml
|
update_cargo_toml
|
||||||
|
cargo fmt
|
||||||
git add .
|
git add .
|
||||||
git commit -m "chore: release $NEW_TAG_VERSION"
|
git commit -m "chore: release $NEW_TAG_VERSION"
|
||||||
git checkout main
|
git checkout main
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ impl AppData {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Current time as unix timestamp
|
// Current time as unix timestamp
|
||||||
fn get_systemtime(&self) -> u64 {
|
fn get_systemtime(&self) -> u64 {
|
||||||
SystemTime::now()
|
SystemTime::now()
|
||||||
@@ -40,7 +39,6 @@ impl AppData {
|
|||||||
.as_secs()
|
.as_secs()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Get the current select docker command
|
/// Get the current select docker command
|
||||||
/// So know which command to execute
|
/// So know which command to execute
|
||||||
pub fn get_docker_command(&self) -> Option<DockerControls> {
|
pub fn get_docker_command(&self) -> Option<DockerControls> {
|
||||||
@@ -388,7 +386,6 @@ impl AppData {
|
|||||||
self.logs_parsed = true;
|
self.logs_parsed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pub fn update_all_logs(&mut self, all_logs: Vec<Vec<String>>) {
|
pub fn update_all_logs(&mut self, all_logs: Vec<Vec<String>>) {
|
||||||
for (index, output) in all_logs.into_iter().enumerate() {
|
for (index, output) in all_logs.into_iter().enumerate() {
|
||||||
self.update_log_by_index(output, index);
|
self.update_log_by_index(output, index);
|
||||||
|
|||||||
@@ -231,7 +231,6 @@ pub fn draw_logs<B: Backend>(
|
|||||||
.block(block)
|
.block(block)
|
||||||
.alignment(Alignment::Center);
|
.alignment(Alignment::Center);
|
||||||
f.render_widget(paragraph, area)
|
f.render_widget(paragraph, area)
|
||||||
|
|
||||||
} else if let Some(index) = index {
|
} else if let Some(index) = index {
|
||||||
let items = app_data.lock().containers.items[index]
|
let items = app_data.lock().containers.items[index]
|
||||||
.logs
|
.logs
|
||||||
|
|||||||
Reference in New Issue
Block a user