1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00

addressed review comments

This commit is contained in:
Nitesh Kumar 2020-03-13 16:45:43 +05:30
parent b5d9ffdfa4
commit 13bf4d2e8f

View File

@ -546,9 +546,9 @@ define(function (require, exports, module) {
*/
function addExtensionToExternalAppList(ext) {
if(typeof ext !== 'string') {
if(Array.isArray(ext)) {
extListToBeOpenedInExtApp = ext;
} else {
} else if (typeof ext === 'string'){
extListToBeOpenedInExtApp.push(ext);
}
}