Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 8201033

Browse files
author
Nitesh Kumar
committed
Merge branch 'master' of https://github.com/adobe/brackets into graphicsFileExternalApplication
2 parents 9c722a6 + e5ff7d2 commit 8201033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/file/FileUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ define(function (require, exports, module) {
546546
*/
547547
function addExtensionToExternalAppList(ext) {
548548

549-
if(typeof ext !== 'string') {
549+
if(Array.isArray(ext)) {
550550
extListToBeOpenedInExtApp = ext;
551-
} else {
551+
} else if (typeof ext === 'string'){
552552
extListToBeOpenedInExtApp.push(ext);
553553
}
554554
}

0 commit comments

Comments
 (0)