File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
libs/jvmlib/src/mill/javalib Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -110,19 +110,21 @@ trait RunModule extends WithJvmWorkerModule with RunModuleApi {
110110 /**
111111 * Runs this module's code in a subprocess and waits for it to finish
112112 */
113- def run (args : Task [Args ] = Task .Anon (Args ())): Task .Command [Unit ] = Task .Command (exclusive = true ) {
114- runForkedTask(finalMainClass, args)()
115- }
113+ def run (args : Task [Args ] = Task .Anon (Args ())): Task .Command [Unit ] =
114+ Task .Command (exclusive = true ) {
115+ runForkedTask(finalMainClass, args)()
116+ }
116117
117118 /**
118119 * Runs this module's code in-process within an isolated classloader. This is
119120 * faster than `run`, but in exchange you have less isolation between runs
120121 * since the code can dirty the parent Mill process and potentially leave it
121122 * in a bad state.
122123 */
123- def runLocal (args : Task [Args ] = Task .Anon (Args ())): Task .Command [Unit ] = Task .Command (exclusive = true ) {
124- runLocalTask(finalMainClass, args)()
125- }
124+ def runLocal (args : Task [Args ] = Task .Anon (Args ())): Task .Command [Unit ] =
125+ Task .Command (exclusive = true ) {
126+ runLocalTask(finalMainClass, args)()
127+ }
126128
127129 /**
128130 * Same as `run`, but lets you specify a main class to run
You can’t perform that action at this time.
0 commit comments