Skip to content

Commit 931bcbc

Browse files
authored
Fix sync architectures command failing on the commit hook (#3534)
## Description Updates how `sync-architectures` script is invoked during a pre-commit hook. ## Test plan Modify a spec file and commit
1 parent 5271d96 commit 931bcbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.lintstagedrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"yarn format:android"
77
],
88
"packages/react-native-gesture-handler/apple/**/*.{h,m,mm,cpp}": "yarn format:apple",
9-
"packages/react-native-gesture-handler/src/specs/*.ts": "yarn sync-architectures"
9+
"packages/react-native-gesture-handler/src/specs/*.ts": "yarn workspace react-native-gesture-handler sync-architectures"
1010
}

0 commit comments

Comments
 (0)