Skip to content

Commit

Permalink
addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitesh Kumar committed Mar 13, 2020
1 parent b5d9ffd commit 13bf4d2
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 13bf4d2

Please sign in to comment.