fix another unit test

This commit is contained in:
Norbert de Langen 2022-05-12 11:15:11 +02:00
parent 8de20b019c
commit e32058ad06
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762

View File

@ -70,7 +70,7 @@ export const webpack5: Fix<Webpack5RunOptions> & CheckBuilder = {
}
const main = await readConfig(mainConfig);
const builder = main.getFieldValue(['core', 'builder']);
if (builder && builder !== 'webpack5') {
if (builder && builder !== 'webpack4') {
logger.info(`Found builder ${builder}, skipping`);
return null;
}