Skip to content

Commit

Permalink
fixed fmt ℹ
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed May 27, 2024
1 parent bccf57a commit a591027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
test:
name: "Test"
strategy:
fail-fast: true
matrix:
cmd:
- check
Expand Down
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn get_context() -> Result<Context, ActionsError> {
})
}

fn get_env(var_name: &str) -> Result<String,ActionsError> {
fn get_env(var_name: &str) -> Result<String, ActionsError> {
match env::var(var_name) {
Ok(var) => Ok(var),
Err(_) => Err(ActionsError::Context(var_name.to_string())),
Expand Down

0 comments on commit a591027

Please sign in to comment.