Skip to content

Commit 27d4bb7

Browse files
author
Matt Coley
committed
change return trype
1 parent f13b752 commit 27d4bb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/hubspot/jinjava/interpret/JinjavaInterpreter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,8 @@ public void addError(TemplateError templateError) {
650650
}
651651
}
652652

653-
public void removeError(int index) {
654-
errors.remove(index);
653+
public TemplateError removeError(int index) {
654+
return errors.remove(index);
655655
}
656656

657657
public int getScopeDepth() {

0 commit comments

Comments
 (0)