mirror of
https://gitlab.com/Thoscellen/Wallset.git
synced 2025-05-31 19:04:51 +02:00
Fixes un bug empêchant la détection
This commit is contained in:
parent
530e2763d9
commit
dee4a9c037
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user