File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
arduino-ide-extension/src/common/protocol Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -262,27 +262,9 @@ export namespace Port {
262262 right : Port | string | undefined
263263 ) {
264264 if ( left && right ) {
265- if ( left . protocol !== 'serial' ) {
266- console . log (
267- `Unexpected protocol for 'left' port: ${ JSON . stringify (
268- left
269- ) } . Ignoring 'protocol', comparing 'addresses' with ${ JSON . stringify (
270- right
271- ) } .`
272- ) ;
273- }
274265 if ( typeof right === 'string' ) {
275266 return left . address === right ;
276267 }
277- if ( right . protocol !== 'serial' ) {
278- console . log (
279- `Unexpected protocol for 'right' port: ${ JSON . stringify (
280- right
281- ) } . Ignoring 'protocol', comparing 'addresses' with ${ JSON . stringify (
282- left
283- ) } .`
284- ) ;
285- }
286268 return left . address === right . address ;
287269 }
288270 return false ;
You can’t perform that action at this time.
0 commit comments