Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/adobe/brackets into graph…
Browse files Browse the repository at this point in the history
…icsFileExternalApplication
  • Loading branch information
Nitesh Kumar committed Mar 16, 2020
2 parents 9c722a6 + e5ff7d2 commit 8201033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/file/FileUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 8201033

Please sign in to comment.