await
This commit is contained in:
@@ -122,7 +122,7 @@ export async function post(agent: BskyAgent, opts: PostOpts) {
|
|||||||
|
|
||||||
if (isNative) {
|
if (isNative) {
|
||||||
try {
|
try {
|
||||||
deleteAsync(path)
|
await deleteAsync(path)
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -183,7 +183,7 @@ export async function post(agent: BskyAgent, opts: PostOpts) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (isNative) {
|
if (isNative) {
|
||||||
deleteAsync(opts.extLink.localThumb.path)
|
await deleteAsync(opts.extLink.localThumb.path)
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user