Skip to content

Commit

Permalink
Declare and assign seaprately in _list().
Browse files Browse the repository at this point in the history
  • Loading branch information
xwmx committed Oct 24, 2020
1 parent 840da0d commit 31259d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nb
Original file line number Diff line number Diff line change
Expand Up @@ -6465,7 +6465,8 @@ HEREDOC
then # get from cached .index
local _item_identifier="${_index_map["${__basename:-}"]}"
else # get from .index
local _item_identifier="$(
local _item_identifier
_item_identifier="$(
sed -n "/^${__basename:-}$/=" "${_notebook_path:-}/.index"
)"
fi
Expand Down

0 comments on commit 31259d1

Please sign in to comment.