Skip to content

Commit 89d2e33

Browse files
committed
fix format
1 parent 4d675a2 commit 89d2e33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: send.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@
3636
if (!document.activeElement) {
3737
throw new Error("`document.activeElement` is null");
3838
}
39-
const activeElement = document.activeElement.appendChild(pasteTarget).parentNode;
39+
const activeElement =
40+
document.activeElement.appendChild(pasteTarget).parentNode;
4041
pasteTarget.focus();
4142
document.execCommand("Paste");
4243
const paste = pasteTarget.innerText;
4344
if (!activeElement) {
44-
throw new Error("`activeElement` is null")
45+
throw new Error("`activeElement` is null");
4546
}
4647
activeElement.removeChild(pasteTarget);
4748
return paste;

0 commit comments

Comments
 (0)