Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consume new expressions and object templating libraries #46

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

ericsciple
Copy link
Collaborator

No description provided.


result.Value = tree.Evaluate<bool>(trace: expressionTrace, secretMasker: HostContext.SecretMasker, state: executionContext, options: evaluationOptions);
var expressionResult = tree.Evaluate(expressionTrace, HostContext.SecretMasker, state: executionContext, options: null);
result.Value = expressionResult.IsTruthy;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evaluate always returns an EvaluationResult, so check IsTruthy now

@ericsciple ericsciple merged commit 4a5b609 into master Jul 16, 2019
@ericsciple ericsciple deleted the users/ersciple/m154type branch July 17, 2019 03:28
fhammerl added a commit that referenced this pull request Jun 16, 2022
volker-raschek pushed a commit to dedalus-cis4u/github-runner-role that referenced this pull request Jul 25, 2022
jsoref pushed a commit to jsoref/actions-runner that referenced this pull request Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant