mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
fix html terminal to support linebreaks inside lines
This commit is contained in:
@@ -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}"`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user