cmd: Fix trace bug when no package specified
Fix a bug where the regexp would be used as a package string incorrectly. This would manifest when trying to execute the trace subcommand as `dlv trace <regexp>` without specifying a package identifier. The `<regexp>` would be passed to the Go build command causing an error.
Showing
想要评论请 注册 或 登录