Skip to content

Commit

Permalink
forgot to handle a missing extension in files_with_ext_from_filelist
Browse files Browse the repository at this point in the history
  • Loading branch information
db48x committed May 5, 2018
1 parent 1ceb58c commit fd1ec3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions loader.js
Expand Up @@ -1680,6 +1680,9 @@ var Module = null;
}

function files_with_ext_from_filelist(xml, ext) {
if (!ext) {
return [];
}
if (!ext.startsWith('.')) {
ext = '.'+ ext;
}
Expand Down

0 comments on commit fd1ec3e

Please sign in to comment.