Skip to content

Commit 5e2bed1

Browse files
committed
add a little bit more comments
1 parent 2f8a7f3 commit 5e2bed1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/scala/io/viash/helpers/DependencyResolver.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@ object DependencyResolver extends Logging {
265265
}
266266
}
267267

268-
// Read a config file from a built target. Extract dependencies 'writtenPath'.
268+
// Read a config file from a built target. Extract dependencies 'writtenPath' and the `output` path of the component.
269+
// In 'legacy mode', the output path is not properly sanitized and thus useless, so we return an empty string instead.
269270
def getSparseDependencyInfo(configPath: String): (List[String], String) = {
270271
try {
271272
val yamlText = IO.read(IO.uri(configPath))

0 commit comments

Comments
 (0)