dap: correctly set the target when provided by the launch config
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
@@ -61,6 +61,9 @@ func (d *adapterProtocolDebugger) Start(printer *progress.Printer, opts *BuildOp
|
||||
if cfg.ContextPath != "" {
|
||||
opts.ContextPath = cfg.ContextPath
|
||||
}
|
||||
if cfg.Target != "" {
|
||||
opts.Target = cfg.Target
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user