fix html terminal to support linebreaks inside lines

This commit is contained in:
Alexander Wunschik
2022-04-02 14:01:37 +02:00
parent e97820ae11
commit dc8bb273cd
5 changed files with 89 additions and 189 deletions

View File

@@ -103,10 +103,7 @@ function findJSFilesInFolder(folder) {
...htmlFiles,
...mjsFiles
].filter(file => !IGNORE_FILES.includes(file));
console.log(entries);
if (entries.length == 0) {
throw new Error(`Game "${folder}" is missing a HTML or node.js file in the folder "${folder}/${JAVASCRIPT_FOLDER}"`);
}