Skip to content

Commit 559c925

Browse files
committed
format UGH
1 parent 75de7b4 commit 559c925

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ async function readClipboardImage(): Promise<Uint8Array> {
9898
try {
9999
const result = await $`osascript \
100100
-e ${`set png_data to (the clipboard as «class PNGf»)`} \
101-
-e ${`set f to open for access POSIX file ${JSON.stringify(tmpPath)} with write permission`} \
101+
-e ${`set f to open for access POSIX file ${
102+
JSON.stringify(tmpPath)
103+
} with write permission`} \
102104
-e ${`set eof f to 0`} \
103105
-e ${`write png_data to f`} \
104106
-e ${`close access f`}`

0 commit comments

Comments
 (0)