From fbdd46bf8c1a9dcbd4f48fa41af3eda1e421e398 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 24 Aug 2022 22:02:44 +0200 Subject: [PATCH] fix(misc): fix clippy warnings --- .github/workflows/ci.yml | 1 + espanso/src/cli/service/linux.rs | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cf4b63..17c4f84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,7 @@ env: jobs: build: strategy: + fail-fast: false matrix: os: [windows-latest, macos-latest, ubuntu-latest] diff --git a/espanso/src/cli/service/linux.rs b/espanso/src/cli/service/linux.rs index 53ec82e..3f464da 100644 --- a/espanso/src/cli/service/linux.rs +++ b/espanso/src/cli/service/linux.rs @@ -42,10 +42,8 @@ pub fn register() -> Result<()> { info_println!("creating service file in {:?}", service_file); let espanso_path = get_binary_path().expect("unable to get espanso executable path"); - let service_content = String::from(LINUX_SERVICE_CONTENT).replace( - "{{{espanso_path}}}", - &espanso_path.to_string_lossy().to_string(), - ); + let service_content = String::from(LINUX_SERVICE_CONTENT) + .replace("{{{espanso_path}}}", &espanso_path.to_string_lossy()); std::fs::write(service_file, service_content)?;