fabric8-analytics / fabric8-analytics-lsp-server

Apache License 2.0
9 stars 33 forks source link

fix: [APPAI-1655] Clearing all diagnostic message in case of error for golang #166

Closed dgpatelgit closed 3 years ago

dgpatelgit commented 3 years ago

Upon CA trigger there are cases when in golang can fail to generate data using go list command. In this case plugin still highlights existing go.mod with diagnostic which are not appropriated for modified content. Solution was to clean all diagnostic messages upon error.

Jira ticket :: https://issues.redhat.com/browse/APPAI-1657

codecov-io commented 3 years ago

Codecov Report

Merging #166 (80d6e08) into master (2611bff) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #166   +/-   ##
=======================================
  Coverage   97.08%   97.08%           
=======================================
  Files           7        7           
  Lines         377      377           
  Branches       75       75           
=======================================
  Hits          366      366           
  Misses         11       11           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2611bff...80d6e08. Read the comment docs.

crda-release-bot commented 3 years ago

:tada: This PR is included in version 0.4.12 :tada:

The release is available on:

Your semantic-release bot :package::rocket: