Skip to content

Commit b42fe55

Browse files
committed
ScriptREPL: do not needlessly trim again
1 parent 1f213f2 commit b42fe55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/script/ScriptREPL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public boolean evaluate(final String line) {
155155
else if (tLine.equals(":vars")) vars();
156156
else if (tLine.equals(":langs")) langs();
157157
else if (tLine.startsWith(":lang ")) lang(line.substring(6).trim());
158-
else if (line.trim().equals(":quit")) return false;
158+
else if (tLine.equals(":quit")) return false;
159159
else {
160160
// ensure that a script language is active
161161
if (interpreter == null) return true;

0 commit comments

Comments
 (0)