Skip to content

Commit 531eb6a

Browse files
committed
add test coverage, for insert before ptenv
1 parent 5cddf03 commit 531eb6a

File tree

2 files changed

+108
-72
lines changed

2 files changed

+108
-72
lines changed

libraries/src/AWS.Lambda.Powertools.Common/Core/PowertoolsEnvironment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void SetExecutionEnvironment<T>(T type, string utilityName = null)
8080
// Only set if not already present and only allows one utility
8181
// this will change when bitwise is supported
8282
if (!string.IsNullOrEmpty(currentEnvValue) && (currentEnvValue.Contains(assemblyName)
83-
|| currentEnvValue.Contains("PTEnv/")))
83+
|| currentEnvValue.Contains("PT/")))
8484
{
8585
return;
8686
}

0 commit comments

Comments
 (0)