Skip to content

Commit 2dd6bd1

Browse files
committed
+semver: minor code review adjustments
1 parent 9e8a18f commit 2dd6bd1

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/GitVersionCore/Helpers/EnvironmentHelper.cs

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/GitVersionCore/Helpers/StringFormatWith.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static string FormatWith<T>(this string template, T source)
4646
fallback = components[1].Trim();
4747
}
4848

49-
propertyValue = EnvironmentHelper.GetEnvironmentVariableForProcess(envVar);
49+
propertyValue = System.Environment.GetEnvironmentVariable(envVar, EnvironmentVariableTarget.Process);
5050
if (propertyValue == null)
5151
{
5252
if (fallback != null)

0 commit comments

Comments
 (0)