From 87ad554531b86a8fbb927db87ea1959decf4e118 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 15 Jun 2023 09:57:04 +0300 Subject: [PATCH] fix transpiler --- js/transpiler/transpiler.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/transpiler/transpiler.js b/js/transpiler/transpiler.js index 9ecc7d9832..d7abca88e3 100644 --- a/js/transpiler/transpiler.js +++ b/js/transpiler/transpiler.js @@ -73,9 +73,7 @@ class Transpiler { } let files = allFiles.filter(file => this.#isToBeTranspiled(file)); - - let otherFiles = !this.file ? - allFiles.filter(file => !files.includes(file)) : []; + let otherFiles = allFiles.filter(file => !files.includes(file)); files.forEach(file => this.#processFile(file)); otherFiles.forEach(file => this.#copyFile(file));