Skip to content

Commit d0d77ed

Browse files
committed
Fixing the default path for the file to be temporary
1 parent 26bf2c5 commit d0d77ed

File tree

1 file changed

+1
-4
lines changed
  • src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib

1 file changed

+1
-4
lines changed

src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/Utilities.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,7 @@ public static void UpdateVaultSettings(ASRVaultCreds asrVaultCreds)
121121
/// <returns>path as string.</returns>
122122
public static string GetDefaultPath()
123123
{
124-
string path = null;
125-
path = Path.GetDirectoryName(Environment.GetFolderPath(Environment.SpecialFolder.Personal));
126-
path = Path.Combine(path, "Downloads");
127-
124+
string path = Path.GetTempPath();
128125
return path;
129126
}
130127

0 commit comments

Comments
 (0)