Skip to content
Snippets Groups Projects
Unverified Commit 6a7a4c20 authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Merge pull request #2550 from Hiramiya/fix-invalidfiletype

Fix broken invalid-filetype behaviour
parents 6a5a9de7 6434dac0
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ export default (os: OS) => {
text: '%i18n:common.got-it%'
}]
});
reject();
return reject('invalid-filetype');
}
const w = os.new(CropWindow, {
......
......@@ -16,7 +16,7 @@ export default (os: OS) => {
text: '%i18n:common.got-it%'
}]
});
reject();
return reject('invalid-filetype');
}
const w = os.new(CropWindow, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment