Skip to content

Commit

Permalink
fix typo (#157703)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Aug 9, 2022
1 parent bdb0a92 commit fa16306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ if [[ -n "${bash_preexec_imported:-}" ]]; then
preexec_functions+=(__vsc_preexec_only)
else
__vsc_dbg_trap="$(trap -p DEBUG)"
if [[ "$__vsc_db_trap" =~ .*\[\[.* ]]; then
if [[ "$__vsc_dbg_trap" =~ .*\[\[.* ]]; then
#HACK - is there a better way to do this?
__vsc_dbg_trap=${__vsc_dbg_trap#'trap -- '*}
__vsc_dbg_trap=${__vsc_dbg_trap%'DEBUG'}
Expand Down

0 comments on commit fa16306

Please sign in to comment.