That was never used we could probably just get rid of it -- Michele Sciabarra mich...@sciabarra.com
----- Original message ----- From: "d4rkstar (via GitHub)" <g...@apache.org> To: dev@openserverless.apache.org Subject: [I] [CLI] ops echoif not working properly [openserverless] Date: Wednesday, August 14, 2024 2:09 AM d4rkstar opened a new issue, #42: URL: https://github.com/apache/openserverless/issues/42 Hello, It seems that the tool echoif is not working. Infact: ```bash ❯ $(exit 1); ops -echoif "return code is 0" "return code is 1" return code is 0 ``` The bats tests seems to "jump over" the problem: in the file tests/echoif.bats the test should assert_line "b" or refute_line "a": ```bats @test "-echoif echoes b with failed previous command" { run ops failing run ops -echoif "a" "b" refute_line "b" # here } ``` Ops version: ``` ❯ ops -v 0.1.0-2408111626.dev ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@openserverless.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org