opti: typo error

This commit is contained in:
Jocs 2018-09-24 21:48:35 +08:00
parent 2ff6b77488
commit 818dd254dc
2 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
dist/electron/*
dist/web/*
build/*
static/themes/*
src/muya/dist/
src/muya/node_modules/
coverage

View File

@ -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