Skip to content

Commit ac9ebdb

Browse files
committed
Do not CreateLocationArgument - Remove flag
1 parent 4708c97 commit ac9ebdb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/UiPath.Workflow.Runtime/Expressions/CompiledExpressionInvoker.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ namespace System.Activities.Expressions;
99

1010
public class CompiledExpressionInvoker
1111
{
12-
private static bool DisableLocationArgumentCreation = Environment.GetEnvironmentVariable("UIPATH_EXPRESSION_DISABLE_LOCATION_ARGUMENT") != null;
13-
1412
private static readonly AttachableMemberIdentifier compiledExpressionRootProperty =
1513
new(typeof(CompiledExpressionInvoker), "CompiledExpressionRoot");
1614
private static readonly AttachableMemberIdentifier compiledExpressionRootForImplementationProperty =
@@ -228,10 +226,6 @@ private void ProcessLocationReferences()
228226
{
229227
foreach (LocationReference reference in environment.GetLocationReferences())
230228
{
231-
if (!DisableLocationArgumentCreation)
232-
{
233-
_accessor.CreateLocationArgument(reference, false);
234-
}
235229
_locationReferences.Add(new InlinedLocationReference(reference, _metadata.CurrentActivity));
236230
}
237231
}

0 commit comments

Comments
 (0)