Skip to content

Conversation

farkaskrisztian
Copy link

If you start typing 'CASE', an error occurs because there is no 'END' and the line variable is undefined.

Add a safety check for undefined line in getFoldWidgetRange funct…

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Pull Request Checklist:

Copy link

codecov bot commented Sep 9, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.84%. Comparing base (e9c0810) to head (06a1bab).

Files with missing lines Patch % Lines
src/mode/folding/sqlserver.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5871   +/-   ##
=======================================
  Coverage   87.84%   87.84%           
=======================================
  Files         622      622           
  Lines       46388    46388           
  Branches     7605     7605           
=======================================
  Hits        40750    40750           
  Misses       5638     5638           
Flag Coverage Δ
unittests 87.84% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant