mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
tests: Remove unnecessary return
This commit is contained in:
parent
0852df74f1
commit
2414203434
1 changed files with 2 additions and 2 deletions
|
@ -66,9 +66,9 @@ const getPluginTests = async (callback) => {
|
||||||
.filter(([plugin, specDir]) => fs.existsSync(specDir)) // check plugin exists
|
.filter(([plugin, specDir]) => fs.existsSync(specDir)) // check plugin exists
|
||||||
.map(async ([plugin, specDir]) => {
|
.map(async ([plugin, specDir]) => {
|
||||||
const specFiles = await fsp.readdir(specDir);
|
const specFiles = await fsp.readdir(specDir);
|
||||||
return specFiles.map((spec) => {
|
for (const spec of specFiles) {
|
||||||
pluginSpecs.push(staticDir + plugin + specPath + spec);
|
pluginSpecs.push(staticDir + plugin + specPath + spec);
|
||||||
});
|
}
|
||||||
}));
|
}));
|
||||||
return pluginSpecs;
|
return pluginSpecs;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue