Skip to content

Commit

Permalink
force "failure" to check if CI passes
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Aug 22, 2023
1 parent ad2d439 commit 5441ba0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/tasks/sandbox-parts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,8 @@ export const extendMain: Task['run'] = async ({ template, sandboxDir }, { disabl
logger.log('📝 Extending main.js');
const mainConfig = await readMainConfig({ cwd: sandboxDir });
const templateConfig = template.modifications?.mainConfig || {};
// TODO: UNDO THIS! DO NOT MERGE WITH THIS
const frameworkConfig = mainConfig.getFieldValue(['framework']);
const configToAdd = {
...templateConfig,
features: {
Expand All @@ -536,6 +538,10 @@ export const extendMain: Task['run'] = async ({ template, sandboxDir }, { disabl
// We don't want to show the "What's new" notifications in the sandbox as it can affect E2E tests
disableWhatsNewNotifications: true,
},
framework: {
...frameworkConfig,
options: undefined,
},
};

Object.entries(configToAdd).forEach(([field, value]) => mainConfig.setFieldValue([field], value));
Expand Down

0 comments on commit 5441ba0

Please sign in to comment.