1
0

Merge pull request #2550 from Hiramiya/fix-invalidfiletype

Fix broken invalid-filetype behaviour
This commit is contained in:
syuilo
2018-08-31 07:00:31 +09:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export default (os: OS) => {
text: '%i18n:common.got-it%' text: '%i18n:common.got-it%'
}] }]
}); });
reject(); return reject('invalid-filetype');
} }
const w = os.new(CropWindow, { const w = os.new(CropWindow, {
+1 -1
View File
@@ -16,7 +16,7 @@ export default (os: OS) => {
text: '%i18n:common.got-it%' text: '%i18n:common.got-it%'
}] }]
}); });
reject(); return reject('invalid-filetype');
} }
const w = os.new(CropWindow, { const w = os.new(CropWindow, {