aboutsummaryrefslogtreecommitdiff
path: root/stage1/Stage1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage1/Stage1.scala')
-rw-r--r--stage1/Stage1.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage1/Stage1.scala b/stage1/Stage1.scala
index c94d1a4..e20a046 100644
--- a/stage1/Stage1.scala
+++ b/stage1/Stage1.scala
@@ -165,7 +165,7 @@ object Stage1{
val stage2Args = Stage2Args(
new File( args.args(0) ),
- args.args.drop(1).toVector,
+ args.args.drop(1).dropWhile(_ == "direct").toVector,
// launcher changes cause entire nailgun restart, so no need for them here
cbtHasChanged = cbtHasChanged,
classLoaderCache = classLoaderCache,