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:
parent
b5d9ffdfa4
commit
13bf4d2e8f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user