From fd1ec3e28aa1d2b1ee0967bbc443822b9edd2fa0 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Sat, 5 May 2018 08:55:26 -0700 Subject: [PATCH] forgot to handle a missing extension in files_with_ext_from_filelist --- loader.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/loader.js b/loader.js index 646747f..bc20f0d 100644 --- a/loader.js +++ b/loader.js @@ -1680,6 +1680,9 @@ var Module = null; } function files_with_ext_from_filelist(xml, ext) { + if (!ext) { + return []; + } if (!ext.startsWith('.')) { ext = '.'+ ext; }