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 60
60
(arg-context json-arg-string))]
61
61
(try
62
62
(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)))))]
71
72
(jsonrpc/notify
72
73
:message
73
74
{:debug (format " function call %s"
You can’t perform that action at this time.
0 commit comments