Skip to content

Commit

Permalink
Fix global cache not valid in AviatorEvaluator.execute
Browse files Browse the repository at this point in the history
  • Loading branch information
xixingya committed Jan 14, 2022
1 parent 3c682e2 commit 546fe9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/googlecode/aviator/AviatorEvaluator.java
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ public static Object execute(final String expression, final Map<String, Object>
* @return
*/
public static Object execute(final String expression, final Map<String, Object> env) {
return execute(expression, env, false);
return getInstance().execute(expression,env);
}


Expand Down

0 comments on commit 546fe9a

Please sign in to comment.