Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixbug 10547 #12338

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

fixbug 10547 #12338

wants to merge 1 commit into from

Conversation

wangjingf
Copy link

What kind of change does this PR introduce? (check at least one)

  • [ 10547] Bugfix

Does this PR introduce a breaking change? (check one)

No

@wangjingf wangjingf changed the title Update codeframe.js fixbug 10547 Oct 28, 2021
@@ -14,7 +14,8 @@ export function generateCodeFrame (
count += lines[i].length + 1
if (count >= start) {
for (let j = i - range; j <= i + range || end > count; j++) {
if (j < 0 || j >= lines.length) continue
if (j < 0 ) continue
if(j >= lines.length) break;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🎉

@tony19
Copy link

tony19 commented Nov 10, 2021

Related #10547

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.

3 participants