Skip to content

Commit

Permalink
fix(explore-data): Add flag --ttl for bkt usage
Browse files Browse the repository at this point in the history
For bkt, as of version 0.8.0, it's a required flag.
  • Loading branch information
rafaelespinoza committed Feb 3, 2024
1 parent 68e3770 commit 066a076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions explore-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $ bin/main explore-data relate -p1 @I0@ -p2 @I10@ < testdata/kennedy.ged" | fold
# shellcheck disable=SC2016
local fzf_preview='${GED_BIN:?missing GED_BIN} -q explore-data show --target-id "$(echo {1})" <"${INFILE:?missing INFILE}"'
if command -v bkt >&/dev/null; then
fzf_preview="bkt -- ${fzf_preview}"
fzf_preview="bkt --ttl 60s -- ${fzf_preview}"
else
echo >&2 "${no_bkt_msg}"
fi
Expand Down Expand Up @@ -124,7 +124,7 @@ $ bin/main explore-data show --target-id @I10@ < testdata/kennedy.ged" | fold -s
# shellcheck disable=SC2016
local fzf_preview='${GED_BIN:?missing GED_BIN} -q explore-data show --target-id "$(echo {1})" <"${INFILE:?missing INFILE}"'
if command -v bkt >&/dev/null; then
fzf_preview="bkt -- ${fzf_preview}"
fzf_preview="bkt --ttl 60s -- ${fzf_preview}"
else
echo >&2 "${no_bkt_msg}"
fi
Expand Down

0 comments on commit 066a076

Please sign in to comment.