strider-bitbucket icon indicating copy to clipboard operation
strider-bitbucket copied to clipboard

Possible access of undefined variable

Open svenvarkel opened this issue 9 years ago • 2 comments

In webapp.js there is a possible access of undefined variable. It needs a check if it's defined, first.

2016-05-06T10:59:13.042Z - error: TypeError: Cannot read property 'raw_node' of undefined
    at Object.onCommit (...node_modules/strider-bitbucket/lib/webapp.js:297:49)

svenvarkel avatar May 06 '16 11:05 svenvarkel

This issue relates to #17 because it all starts when the commit list is empty. However better checks for undef variables should be added anyway.

svenvarkel avatar May 09 '16 08:05 svenvarkel

@svenvarkel PR is very welcome

knownasilya avatar May 09 '16 13:05 knownasilya