mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 15:09:10 +08:00
opti: typo error
This commit is contained in:
parent
2ff6b77488
commit
818dd254dc
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
dist/electron/*
|
||||
dist/web/*
|
||||
build/*
|
||||
static/themes/*
|
||||
src/muya/dist/
|
||||
src/muya/node_modules/
|
||||
coverage
|
||||
|
@ -182,7 +182,6 @@ ipcMain.on('AGANI::window::drop', (e, fileList) => {
|
||||
break
|
||||
}
|
||||
// handle import file
|
||||
console.log(file)
|
||||
if (PANDOC_EXTENSIONS.some(ext => file.endsWith(ext))) {
|
||||
pandocFile(file)
|
||||
break
|
||||
@ -250,7 +249,7 @@ export const importFile = async win => {
|
||||
const existsPandoc = await pandoc.exists()
|
||||
if (!existsPandoc) {
|
||||
win.webContents.send('AGANI::pandoc-not-exists', {
|
||||
title: 'Export Warning',
|
||||
title: 'Import Warning',
|
||||
type: 'warning',
|
||||
message: 'Install pandoc before you want to export files.',
|
||||
time: 10000
|
||||
|
Loading…
Reference in New Issue
Block a user