fix(fstash): shellcheck fix

pull/13/head
kevin zhuang 4 years ago
parent bdafcfd218
commit fde35e9780

@ -89,7 +89,7 @@ elif [[ "${stash_command}" == "delete" ]]; then
else
selected_stash=$(get_stash "select stash to apply" "true")
[[ -z "${selected_stash}" ]] && exit 1
[[ -z "${confirm}" ]] && echo "(dryrun) "${stash_command}" ${selected_stash}"
[[ -z "${confirm}" ]] && echo "(dryrun) ${stash_command} ${selected_stash}"
[[ -z "${confirm}" ]] && confirm=$(get_confirmation)
[[ "${confirm}" != 'y' ]] && exit 1
/usr/bin/git --git-dir="${DOTBARE_DIR}" --work-tree="${DOTBARE_TREE}" stash "${stash_command}" "${selected_stash}"

Loading…
Cancel
Save