Skip to content

Commit

Permalink
fixed Problem vs-code reported in "Problems"
Browse files Browse the repository at this point in the history
vs-code threw an immediate problem on first debug, that line 101 could not be parsed.
Moving the ">&2" to the end of the line (as all other echo messages have it) solved this.

(Sorry if this description is a bit wacky, still new to shellscript and comitting to oss)
  • Loading branch information
VuiMuich authored Mar 11, 2020
1 parent 176e980 commit f3bdd4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zshdb_dir/zshdb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if (( ${#_Dbg_script_args[@]} > 0 )) ; then
_Dbg_script_file="${_Dbg_script_args[0]}"
shift _Dbg_script_args
elif [[ -z $_Dbg_EXECUTION_STRING ]] ; then
echo >&2 "${_Dbg_pname}: need to give a script to debug or use the -c option."
echo "${_Dbg_pname}: need to give a script to debug or use the -c option." >&2
exit 1
fi

Expand Down

0 comments on commit f3bdd4b

Please sign in to comment.