Skip to content

Commit 8717d38

Browse files
committed
Use quiet ScriptREPL
This requires scijava-common 2.68.0.
1 parent aeca80a commit 8717d38

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@
8989

9090
<!-- NB: Deploy releases to the ImageJ Maven repository. -->
9191
<releaseProfiles>deploy-to-imagej</releaseProfiles>
92+
93+
<scijava-common.version>2.68.0</scijava-common.version>
9294
</properties>
9395

9496
<repositories>

src/main/java/org/scijava/search/snippet/RunSnippetActionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public SearchAction create(final SearchResult result) {
6363

6464
if (repl == null) {
6565
repl = new ScriptREPL(scriptService.context());
66-
repl.initialize(); // TODO: initialize(false) once it exists.
66+
repl.initialize(false);
6767
}
6868

6969
return new DefaultSearchAction("Evaluate", true, () -> {

0 commit comments

Comments
 (0)