diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-11-13 14:45:36 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-11-13 15:29:33 -0500 |
commit | ff6856395499853f3dc10723a0c722ee4c33fed7 (patch) | |
tree | 3b0e339e941f51dfcf7c0d159522dd22be73f884 /stage2/BuildDependency.scala | |
parent | 9664f3e22156ab159e310f31720082b417dcf03e (diff) | |
download | cbt-ff6856395499853f3dc10723a0c722ee4c33fed7.tar.gz cbt-ff6856395499853f3dc10723a0c722ee4c33fed7.tar.bz2 cbt-ff6856395499853f3dc10723a0c722ee4c33fed7.zip |
minor refactoring using shorter names
Diffstat (limited to 'stage2/BuildDependency.scala')
-rw-r--r-- | stage2/BuildDependency.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/BuildDependency.scala b/stage2/BuildDependency.scala index a834435..197a7a1 100644 --- a/stage2/BuildDependency.scala +++ b/stage2/BuildDependency.scala @@ -29,7 +29,7 @@ final case class DirectoryDependency(context: Context) extends TriggerLoop{ } /* case class DependencyOr(first: DirectoryDependency, second: JavaDependency) extends ProjectProxy with DirectoryDependencyBase{ - val isFirst = new File(first.context.projectDirectory).exists + val isFirst = new File(first.projectDirectory).exists def triggerLoopFiles = if(isFirst) first.triggerLoopFiles else Seq() protected val delegate = if(isFirst) first else second } |