Fixing windows build issue

This commit is contained in:
Kenneth Shaw 2018-07-18 06:19:22 +07:00
parent 34591780d9
commit bf52fed0d3

View File

@ -24,21 +24,3 @@ func KillProcessGroup(m map[string]interface{}) error {
func ForceKill(m map[string]interface{}) error { func ForceKill(m map[string]interface{}) error {
return nil return nil
} }
// EdgeDiagnosticsAdapterWithPath is a command line option to specify using the
// Microsoft Edge Diagnostics adapter at the specified path.
func EdgeDiagnosticsAdapterWithPathAndPort(path string, port int) CommandLineOption {
return func(m map[string]interface{}) error {
m["exec-path"] = path
m["port"] = port
return nil
}
}
// EdgeDiagnosticsAdapter is a command line option to specify using the
// Microsoft Edge Diagnostics adapter found on the path.
//
// If the
func EdgeDiagnosticsAdapter() CommandLineOption {
return EdgeDiagnosticsAdapterWithPathAndPort(findEdgePath(), 9222)
}