Skip to content

Commit 1a05122

Browse files
Update formatting
1 parent 212f386 commit 1a05122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/scripts/update-builder-profiles.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ let routeContent = fs.readFileSync(apiRoutePath, 'utf8');
6868
// Replace the BUILDER_PROFILES array content
6969
routeContent = routeContent.replace(
7070
/const BUILDER_PROFILES = \[([\s\S]*?)\];/,
71-
`const BUILDER_PROFILES = ${JSON.stringify(builderProfiles, null, 2)};`
71+
`const BUILDER_PROFILES = [\n ${builderProfiles.map(profile => `"${profile}"`).join(",\n ")},\n];`
7272
);
7373

7474
// Write the updated content back to the file

0 commit comments

Comments
 (0)