mirror of https://github.com/sbt/sbt.git
Fix 2 "discarded non-Unit value" warnings in ScriptedPlugin
This commit is contained in:
parent
705eeddf5c
commit
78f4f56d1c
|
|
@ -181,6 +181,7 @@ object ScriptedPlugin extends AutoPlugin {
|
|||
if (scriptedBatchExecution.value)
|
||||
method.invoke(scriptedInstance, dir, log, args.toArray, launcher, opts, empty, instances)
|
||||
else method.invoke(scriptedInstance, dir, log, args.toArray, launcher, opts, empty)
|
||||
()
|
||||
} catch { case e: java.lang.reflect.InvocationTargetException => throw e.getCause }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue