roadan commented on a change in pull request #42: Amaterasu 8
URL: https://github.com/apache/incubator-amaterasu/pull/42#discussion_r258384525
 
 

 ##########
 File path: 
leader-common/src/main/scala/org/apache/amaterasu/leader/common/utilities/DataLoader.scala
 ##########
 @@ -48,7 +48,12 @@ object DataLoader extends Logging {
 
   def getTaskData(actionData: ActionData, env: String): TaskData = {
     val srcFile = actionData.getSrc
-    val src = Source.fromFile(s"repo/src/$srcFile").mkString
+    var src = ""
 
 Review comment:
   Yes, when we have an artifact there is no src file, this is why we check 
first

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to