fmt(js): npm run fix on merge (#86751)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot]
2026-08-15 06:22:02 +00:00
committed by GitHub
parent 0904f50e3e
commit 0807673e1f
15 changed files with 110 additions and 47 deletions
+2
View File
@@ -50,6 +50,7 @@ function workspaceManifests(): { name: string, manifest: Manifest }[] {
for (const pattern of patterns) {
// The globs in use are plain paths or a single trailing ``/*``.
const parent = pattern.endsWith('/*') ? path.join(REPO_ROOT, pattern.slice(0, -2)) : null
const dirs = parent === null
? [pattern]
: fs.existsSync(parent)
@@ -78,6 +79,7 @@ test('workspaces declaring react and react-dom pin them to the same exact versio
if (react !== reactDom) {
offenders.push(`${name} declares react"${react}" but react-dom"${reactDom}"`)
continue
}