v2.5.3
===================================================================== --- Bug Fixes ---------------------------- - __READ and __EDIT no longer fail on CI, just skip
This commit is contained in:
parent
244c188deb
commit
710d42e248
@ -92,16 +92,16 @@ __FZF_TAIL() { __FZF $@ --print-query | sed '/^$/d' | tail -n1; } # prefer selec
|
|||||||
|
|
||||||
__READ() {
|
__READ() {
|
||||||
[ $CI ] && {
|
[ $CI ] && {
|
||||||
__ERROR 'currently in CI, but __READ explicitly requires terminal input'
|
__INFO 'currently in CI, skipping __READ'
|
||||||
return 1
|
return 0
|
||||||
}
|
}
|
||||||
read $@ </dev/tty
|
read $@ </dev/tty
|
||||||
}
|
}
|
||||||
|
|
||||||
__EDIT() {
|
__EDIT() {
|
||||||
[ $CI ] && {
|
[ $CI ] && {
|
||||||
__ERROR 'currently in CI, but __EDIT explicitly requires terminal input'
|
__INFO 'currently in CI, skipping __EDIT'
|
||||||
return 1
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
__STATUS "opening '$1' for editing"
|
__STATUS "opening '$1' for editing"
|
||||||
|
Loading…
Reference in New Issue
Block a user