Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WorkflowStepInput.valueFrom: if self is type Directory, then `self.… #750

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mr-c
Copy link
Member

@mr-c mr-c commented Jul 27, 2018

…listing` should be present

@mr-c mr-c requested a review from tetron July 27, 2018 13:01
in:
file1:
source: first/outdir
valueFrom: $(self.listing[0])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you access the file by a name? The index might not be very reliable or desired.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not as easily as one would have to filter on basename - but this test only needs to verify that self.listing is populated and so [0] should be present.

in:
file1:
source: first/outdir
valueFrom: $(self.listing[0])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not as easily as one would have to filter on basename - but this test only needs to verify that self.listing is populated and so [0] should be present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants