You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fixing the location. I think the EXIT and RETURN need to be turned into associative arrays, not indexed arrays?
Thank you for the report! But EXIT and RETURN must not appear here in original ble.sh. It seems there are some problems in upstream of the code, which causes the wrong values of $index.
Ah, this is caused by the format difference of trap -l between Bash and Oil. Looking at Oil trap -l outputs, ble.sh considers EXIT to be the value of ERR and RETURN to be the value of DEBUG.
I would like to make sure the output of everything is parseable. I don't like bash's inconsistency though, for example set -o gives one format and shopt -o -p gives another format. I feel the trap format is similarly inconsistent.
So let's leave this issue until the rest of the issues on #653 are addressed, unless you think it's blocking something now
Thank you for the report! But
EXIT
andRETURN
must not appear here in originalble.sh
. It seems there are some problems in upstream of the code, which causes the wrong values of$index
.Ah, this is caused by the format difference of
trap -l
between Bash and Oil. Looking at Oiltrap -l
outputs,ble.sh
considersEXIT
to be the value ofERR
andRETURN
to be the value ofDEBUG
.Originally posted by @akinomyoga in #664 (comment)
The text was updated successfully, but these errors were encountered: