Skip to content

Commit

Permalink
fix: removed line bug when pasting code
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSaba committed Dec 12, 2024
1 parent 7c5a675 commit b749674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/utils/editorOperationUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function tryIgnoreLockedCodeTextForOperation (
}

if (remainingText !== '') {
splitText.push(remainingText.endsWith('\n') ? remainingText.slice(0, remainingText.length - 1) : remainingText)
splitText.push(remainingText)
}
return splitText
}
Expand Down

0 comments on commit b749674

Please sign in to comment.