pull-hook: convert list of paths to single path

This commit is contained in:
Logan Allen 2020-12-04 15:11:22 -06:00
parent 09a5d7c71d
commit 29d118af72

View File

@ -356,10 +356,9 @@
?: ?=(%2 -.res)
p.res
?> ?=(%1 -.res)
=/ paths=(unit (list path)) ((soft (list path)) p.res)
?~ paths ~
%+ turn u.paths
(cork path smyt)
=/ maybe-path=(unit path) ((soft path) p.res)
?~ maybe-path ~
[(smyt u.maybe-path) ~]
%- (slog tang)
(~(put by failed-kicks) rid ship)
?^ pax