Skip to content

Commit 8c979ef

Browse files
authored
Merge pull request #7784 from maddieclayton/envca
Update naming structure for Context Autosave environment variable
2 parents ea2b86f + 1c06ac0 commit 8c979ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ResourceManager/Profile/Commands.Profile/Common/AzureRmProfileConstants.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ namespace Microsoft.Azure.Commands.Common.Authentication.ResourceManager
1919
{
2020
public static class AzureRmProfileConstants
2121
{
22+
#if NETSTANDARD
23+
public const string ProfileAutoSaveVariable = "AzContextAutoSave";
24+
#else
2225
public const string ProfileAutoSaveVariable = "AzureRmContextAutoSave";
26+
#endif
2327
public const string AutoSaveDisabled = "Disabled";
2428
}
2529
}

0 commit comments

Comments
 (0)