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; 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