You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but, in case of Bitbucket, the line is not mandatory.
I have no idea how to fix it because looks like that is a BB specific behaviour and at the inlineResults function we don't have context on the platform, right?
I'm happy to help to find and implement a fix if you can give me some hint...
I know that I may implement this with a custom API but in that case I'm going to lose all the check to update current comments, right?
The text was updated successfully, but these errors were encountered:
You can probably do something by passing 0 for the line-number so that violation.line !== undefined and then you can update the createInlineComment in either/both of the above files to do what you want to do.
Describe the bug
warn(message, fileName)
adds the message into the mainComment rather than adding a file commentHere an example of entire file comment:
This happens because a warning is matched with
but, in case of Bitbucket, the line is not mandatory.
I have no idea how to fix it because looks like that is a BB specific behaviour and at the
inlineResults
function we don't have context on the platform, right?I'm happy to help to find and implement a fix if you can give me some hint...
I know that I may implement this with a custom API but in that case I'm going to lose all the check to update current comments, right?
The text was updated successfully, but these errors were encountered: