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