From 1c0622ab77c44dbdd3aff7d121cf862f395e4dd2 Mon Sep 17 00:00:00 2001 From: Francisco Cabrera Date: Thu, 31 Aug 2023 10:32:08 -0400 Subject: [PATCH 1/2] Remove Update-SessionEnvironment dependency --- install.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.ps1 b/install.ps1 index 316ab747..76f368f4 100644 --- a/install.ps1 +++ b/install.ps1 @@ -18,18 +18,17 @@ tar -xf "$INSTALL_DIR\$TAR" -C $INSTALL_DIR mv -Force "$INSTALL_DIR\release\$BINARY_NAME" $INSTALL_DIR ">>> EXTRACTED BINARY TAR." -Update-SessionEnvironment $PATH_CONTENT = [Environment]::GetEnvironmentVariable('path', 'User') if ($PATH_CONTENT -ne $null) { if ($PATH_CONTENT -split ';' -NotContains $INSTALL_DIR) { [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable('Path', 'User') + ";$INSTALL_DIR" , [System.EnvironmentVariableTarget]::User) - Update-SessionEnvironment + $env:Path += ";$INSTALL_DIR" } } ">>> INSTALLED BINARY." rm -r -Force "$INSTALL_DIR\$TAR" rm -r -Force "$INSTALL_DIR\release\" -">>> CLEANED UP." +">>> CLEANED UP." \ No newline at end of file From 4c9851a638992157636cbbe767aff75eab9d35e9 Mon Sep 17 00:00:00 2001 From: danbugs Date: Mon, 11 Sep 2023 08:58:09 -0700 Subject: [PATCH 2/2] clippy attempted fix Signed-off-by: danbugs --- crates/blob-store/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/blob-store/src/lib.rs b/crates/blob-store/src/lib.rs index 5af6a85c..2fa2ee06 100644 --- a/crates/blob-store/src/lib.rs +++ b/crates/blob-store/src/lib.rs @@ -1,3 +1,5 @@ +#![allow(clippy::diverging_sub_expression)] + mod container; mod implementors; mod read_stream;