From 3a358bbac3a9c0cda60024d9cc1ea4b985e70acc Mon Sep 17 00:00:00 2001 From: Spencer Norman Date: Tue, 26 Nov 2019 17:11:27 -0700 Subject: [PATCH] fix: postbuild recursively change ext consistent-return Signed-off-by: Spencer Norman --- package/scripts/postbuild.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/scripts/postbuild.js b/package/scripts/postbuild.js index 0878b228d..3f9de20da 100644 --- a/package/scripts/postbuild.js +++ b/package/scripts/postbuild.js @@ -26,6 +26,8 @@ async function recursivelyChangeExtension(fullDirPath, ext, newExt) { await fse.copy(childPath, childPath.replace(`.${ext}`, `.${newExt}`)); await fse.remove(childPath); + + return null; }); await Promise.all(promises); }