Skip to content

Commit

Permalink
fix(list): remove debugging console.log()
Browse files Browse the repository at this point in the history
  • Loading branch information
statiolake committed Sep 20, 2024
1 parent 9efc9c7 commit 0322a27
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/list/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ function getLastWordRemovedText(text: string): string {

// Remove last contiguous characters of the same unicode class.
const last = getUnicodeClass(res[res.length - 1])
console.log("unicode class of", res[res.length - 1], "is", last)
while (res !== "" && getUnicodeClass(res[res.length - 1]) === last) {
res = res.slice(0, res.length - 1)
}
Expand Down
1 change: 0 additions & 1 deletion src/util/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ export function getUnicodeClass(char: string): UnicodeClass {
if (char == null) return "other"

const charCode = char.charCodeAt(0)
console.log("char code is", charCode)
if (charCode == null) return "other"

// Check for ASCII character
Expand Down

0 comments on commit 0322a27

Please sign in to comment.