Skip to content

Commit 898422a

Browse files
committed
style: reformat for CI linting check
1 parent 1053736 commit 898422a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/posts-list/save-post.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ export const saveLocalDraftToCnblogs = async (localDraft: LocalDraft) => {
115115
AlertService.warning('本地文件已删除, 无法新建博文')
116116
return false
117117
}
118-
if (Settings.automaticallyExtractImagesType) {
118+
if (Settings.automaticallyExtractImagesType)
119119
await extractImages(localDraft.filePathUri, Settings.automaticallyExtractImagesType).catch(console.warn)
120-
}
120+
121121
postToSave.postBody = await localDraft.readAllText()
122122
return true
123123
},

0 commit comments

Comments
 (0)