Skip to content

Commit 2b8ef2a

Browse files
authored
fix(auto-extract-images): fix save-to-cnblogs may blocked error notify of auto-extract-images (#70)
1 parent 9b84655 commit 2b8ef2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/extract-images.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ export const extractImages = async (
103103
}
104104
);
105105
if (failedImages && failedImages.length > 0) {
106-
await window.showErrorMessage(
106+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
107+
window.showErrorMessage(
107108
`${failedImages.length}张图片提取失败\n${failedImages
108109
.map(x => [x.symbol, extractor.errors.find(y => y[0] === x.symbol)?.[1] ?? ''].join(': '))
109110
.join('\n')}`

0 commit comments

Comments
 (0)