1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-13 13:44:28 +01:00

Fixed nux-env and taskie

This commit is contained in:
Tony Tkáčik 2023-08-24 10:59:35 +02:00
parent b04b28f5ea
commit 1cc5b48e4f
4 changed files with 43 additions and 12 deletions

View file

@ -14,7 +14,7 @@ nux.use taskie/backend.dir
function with.backend backendId {
backend=$(echo $backendId | cut -d: -f1);
nux.exec.optional backend.$backend.with;
nux.exec.optional backend.$backend.with "$backendId";
}
function endwith.backend {
@ -40,6 +40,7 @@ function endwith.backend {
if ! backend.$backend.issue.exists "$@" ; then
local labels=$(backend.$backend.labels.id)
nux.log debug "Labels: $labels"
label=$(echo "$labels" | grep -G "^$1:")
local labelName=""
local labelId=""