Skip to content

Commit 019c2ab

Browse files
committed
fix fmt
1 parent c113387 commit 019c2ab

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/task-lint-cargo.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
cd madara
4343
cargo fmt -- --check
4444
45-
4645
- name: Python Cairo setup (before clippy)
4746
uses: ./.github/actions/setup-python-cairo
4847
with:

orchestrator/src/tests/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ pub(crate) fn get_env_params(test_id: Option<&str>) -> EnvParams {
716716

717717
let versioned_constants_path = get_env_var_optional("MADARA_ORCHESTRATOR_VERSIONED_CONSTANTS_PATH")
718718
.expect("Couldn't get versioned constants path")
719-
.map(|s| PathBuf::from(s));
719+
.map(PathBuf::from);
720720

721721
let versioned_constants = versioned_constants_path
722722
.as_ref()

0 commit comments

Comments
 (0)