We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85dbdbd commit 2f8a7f3Copy full SHA for 2f8a7f3
1 file changed
src/main/scala/io/viash/config/dependencies/Dependency.scala
@@ -172,6 +172,7 @@ object Dependency extends Logging {
172
val alternativeTargetPath = remoteLocalDependencyResolver.get._2 // This is the relative path of the dependant in the target folder
173
174
// 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
176
val targetIter = alternativeTargetPath.iterator().asScala.toList.map(p => Some(p))
177
val depIter = Paths.get(dependencyPath).iterator().asScala.toList.map(p => Some(p))
178
val zipped = depIter.zipAll(targetIter, None, None).dropWhile {
0 commit comments