Keep the close method

This commit is contained in:
Eugene Yokota 2023-07-23 01:01:23 -04:00
parent d5cde98654
commit 4c96f45b20
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ private[sbt] object BatchScriptRunner {
}
/** Defines an alternative script runner that allows batch execution. */
private[sbt] class BatchScriptRunner extends ScriptRunner {
private[sbt] class BatchScriptRunner extends ScriptRunner with AutoCloseable {
import BatchScriptRunner.States
/** Defines a method to run batched execution.
@ -63,4 +63,6 @@ private[sbt] class BatchScriptRunner extends ScriptRunner {
throw new TestException(statement, "Command succeeded but failure was expected", null)
}
}
override def close(): Unit = ()
}