File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 6060 (arg-context json-arg-string))]
6161 (try
6262 (if (:container definition ) ; ; synchronous call to container function
63- (let [function-call (merge
64- (:container definition )
65- (dissoc defaults :functions )
66- {:command (interpolate-coll
67- (-> definition :container :command )
68- arg-context)}
69- (when-let [wd (-> definition :container :working-dir )]
70- {:working-dir (first (interpolate arg-context wd))}))]
63+ (let [function-call (cond-> (merge
64+ (:container definition )
65+ (dissoc defaults :functions )
66+ {:command (interpolate-coll
67+ (-> definition :container :command )
68+ arg-context)}
69+ (when-let [wd (-> definition :container :working-dir )]
70+ {:working-dir (first (interpolate arg-context wd))}))
71+ (-> definition :input :file ) (update-in [:input :file ] (fn [s] (first (interpolate arg-context s)))))]
7172 (jsonrpc/notify
7273 :message
7374 {:debug (format " function call %s"
You can’t perform that action at this time.
0 commit comments