shazron commented on pull request #96:
URL: 
https://github.com/apache/openwhisk-wskdebug/pull/96#issuecomment-1085447013


   @alexkli it's pretty clear now that there is a bug in the existing code, and 
nothing related to this PR. This line: 
https://github.com/apache/openwhisk-wskdebug/blob/1ec715d98136811bea30eb6a82b378d78e356252/src/agentmgr.js#L23
 the result is always defined so this logic will always be false: 
https://github.com/apache/openwhisk-wskdebug/blob/1ec715d98136811bea30eb6a82b378d78e356252/src/agentmgr.js#L93
 (if (true && !true) => if (false))
   
   I'm not sure if 
https://github.com/apache/openwhisk-wskdebug/blob/1ec715d98136811bea30eb6a82b378d78e356252/src/agentmgr.js#L23
 would ever throw an error though, just by inspection


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to