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

Commit 13bf4d2

Browse files
author
Nitesh Kumar
committed
addressed review comments
1 parent b5d9ffd commit 13bf4d2

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)