Skip to content

Commit 4fb0ac7

Browse files
[autofix.ci] apply automated fixes
1 parent 7f7c118 commit 4fb0ac7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

crates/gh-workflow-tailcall/src/workflow.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ impl Workflow {
156156
fn workflow_cond(&self) -> Context<bool> {
157157
let is_main = Context::github().ref_().eq("refs/heads/main".into());
158158
let is_push = Context::github().event_name().eq("push".into());
159-
let cond = is_main.and(is_push);
160-
cond
159+
160+
is_main.and(is_push)
161161
}
162162

163163
fn workflow_event(&self) -> Event {

crates/gh-workflow-tailcall/tests/ci.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@ use gh_workflow_tailcall::Workflow;
22

33
#[test]
44
fn generate() {
5-
Workflow::default().auto_release(true).auto_fix(true).generate().unwrap();
5+
Workflow::default()
6+
.auto_release(true)
7+
.auto_fix(true)
8+
.generate()
9+
.unwrap();
610
}

0 commit comments

Comments
 (0)