fix tests some more

This commit is contained in:
Norbert de Langen 2022-08-11 22:26:42 +02:00
parent 92f8fc6292
commit 8e95ef7a7f
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762

View File

@ -192,7 +192,7 @@ const builder: BuilderFunction = async function* builderGeneratorFn({ startTime,
const managerFiles = copy(coreDirOrigin, coreDirTarget);
const files = await Promise.all(
compilation.outputFiles?.map(async (file) => {
compilation?.outputFiles?.map(async (file) => {
await ensureFile(file.path).then(() => writeFile(file.path, file.contents));
return file.path.replace(addonsDir, './sb-addons');
}) || []