Skip to content

[REVIEW] FIX Use if statement to avoid silent error - #185

Merged
raydouglass merged 1 commit into
rapidsai:branch-0.17from
dillon-cullinan:enh-blazingmetta
Dec 7, 2020
Merged

[REVIEW] FIX Use if statement to avoid silent error#185
raydouglass merged 1 commit into
rapidsai:branch-0.17from
dillon-cullinan:enh-blazingmetta

Conversation

@dillon-cullinan

Copy link
Copy Markdown
Contributor

Test Output:

(base) dcullinan@dgx06:~/rapids/integration/ci/cpu$ if [[ -n $(ls test/* | grep -i rapids.*.tar.bz2) ]]; then ls test/* | grep -i rapids.*.tar.bz2; fi
test/rapids-blazing.tar.bz2
(base) dcullinan@dgx06:~/rapids/integration/ci/cpu$ if [[ -n $(ls test/* | grep -i FileThatDoesntExist.*.tar.bz2) ]]; then ls test/* | grep -i FileThatDoesntExist.*.tar.bz2; fi
(base) dcullinan@dgx06:~/rapids/integration/ci/cpu$ echo $?
0

@dillon-cullinan
dillon-cullinan requested a review from a team as a code owner December 7, 2020 19:33
@raydouglass
raydouglass merged commit 71414d6 into rapidsai:branch-0.17 Dec 7, 2020
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.

2 participants