From 38e86b4d38678a711305dd6752a023590396442a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Sun, 6 Jul 2025 11:26:16 +0200 Subject: [PATCH] Remove ToLower() from temp path --- src/code/InstallHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/code/InstallHelper.cs b/src/code/InstallHelper.cs index 10e48b55d..e2d5db493 100644 --- a/src/code/InstallHelper.cs +++ b/src/code/InstallHelper.cs @@ -454,7 +454,7 @@ private void MoveFilesIntoInstallPath( // If script, just move the files over, if module, move the version directory over var tempModuleVersionDir = (!isModule || isLocalRepo) ? dirNameVersion - : Path.Combine(tempInstallPath, pkgInfo.Name.ToLower(), newVersion); + : Path.Combine(tempInstallPath, pkgInfo.Name, newVersion); _cmdletPassedIn.WriteVerbose($"Installation source path is: '{tempModuleVersionDir}'"); _cmdletPassedIn.WriteVerbose($"Installation destination path is: '{finalModuleVersionDir}'"); @@ -984,7 +984,7 @@ private bool TryInstallToTempPath( // Expand the zip file var pkgVersion = pkgToInstall.Version.ToString(); - var tempDirNameVersion = Path.Combine(tempInstallPath, pkgName.ToLower(), pkgVersion); + var tempDirNameVersion = Path.Combine(tempInstallPath, pkgName, pkgVersion); Directory.CreateDirectory(tempDirNameVersion); if (!TryExtractToDirectory(pathToFile, tempDirNameVersion, out error))