viash-io / viash

script + metadata = standalone component
https://viash.io
GNU General Public License v3.0
39 stars 2 forks source link

A trailing `/` for `--src`/`-s` in combination with `-n` or `-q` fails to match #33

Closed tverbeiren closed 3 years ago

tverbeiren commented 3 years ago

Illustration:

$ viash ns test -q project_build -s src
           namespace        functionality             platform            test_name exit_code duration               result
           viash_abc        project_build               native                start
           viash_abc        project_build               native     build_executable         0        0              SUCCESS
           viash_abc        project_build               native                tests        -1        0              MISSING

$ viash ns test -q project_build -s src/
           namespace        functionality             platform            test_name exit_code duration               result
rcannood commented 3 years ago

Fixed with f9a672939b91360e6924ec35ecf84e8c92e6bea5