From 7208719d05a3038ca7ae0110a4e64c86d7b48791 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 18 May 2023 10:29:29 +0200 Subject: [PATCH] =?UTF-8?q?Fixes=20un=20bug=20emp=C3=AAchant=20la=20d?= =?UTF-8?q?=C3=A9tection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/build-manifest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build-manifest.js b/src/build-manifest.js index a1572ca..2a0055f 100644 --- a/src/build-manifest.js +++ b/src/build-manifest.js @@ -15,7 +15,7 @@ fs.readdir(workingDirectory, (err, files) => { if (err) { throw err }; // If IO error, exit with an error message // If there is already a theme.json silentely exit and let mocha running afterwards - if (!files.find(file => path.extname(file) == '.json')) exit(0); + if (files.find(file => path.extname(file) == '.json')) exit(0); // construct a JSON object let theme = new Object();