Skip to content

Commit

Permalink
,
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin committed May 11, 2024
1 parent ff7337f commit e65f9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/scripts/sync-labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async function updateContributingFile(labels: LabelsConfig, options: ActionOptio

const warning = `<!-- DO NOT EDIT: This section is automatically generated by eng/common/scripts/sync-labels.ts, update ${labelFileRelative} run pnpm sync-labels to update -->`;
const newContent = `${start}\n${warning}\n${generateLabelsDoc(labels)}\n${end}`;
const prettierOptions = await resolveConfig(contributingFile);
const { plugins, ...prettierOptions } = (await resolveConfig(contributingFile)) ?? {};
const formatted = await format(newContent, { ...prettierOptions, filepath: contributingFile });
await doAction(
() => writeFile(contributingFile, formatted),
Expand Down

0 comments on commit e65f9c9

Please sign in to comment.