Skip to content

Commit 2f8a7f3

Browse files
committed
extra bit of comment
1 parent 85dbdbd commit 2f8a7f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/scala/io/viash/config/dependencies/Dependency.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ object Dependency extends Logging {
172172
val alternativeTargetPath = remoteLocalDependencyResolver.get._2 // This is the relative path of the dependant in the target folder
173173

174174
// strips alternativeTargetPath from dependencyPath
175+
// ie. `target` from `target/foo/bar` so that it can be added to alternativeSourcePath as it doesn't contain the `target` folder anymore at this point
175176
val targetIter = alternativeTargetPath.iterator().asScala.toList.map(p => Some(p))
176177
val depIter = Paths.get(dependencyPath).iterator().asScala.toList.map(p => Some(p))
177178
val zipped = depIter.zipAll(targetIter, None, None).dropWhile {

0 commit comments

Comments
 (0)