Skip to content

Commit 5f78738

Browse files
authored
chore: preserve workspace yaml quote style (#1672)
## Summary - Prefer single quotes when `sync-remote` rewrites `pnpm-workspace.yaml`. - Keep generated workspace YAML aligned with the repo formatter.
1 parent 5bf7d4d commit 5f78738

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/tools/src/sync-remote-deps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,7 @@ export async function syncRemote() {
721721
// Write the merged workspace back
722722
const yamlContent = stringifyYaml(mergedWorkspace, {
723723
lineWidth: -1,
724+
singleQuote: true,
724725
});
725726

726727
writeFileSync(mainWorkspacePath, yamlContent, 'utf-8');

0 commit comments

Comments
 (0)