Skip to content

Commit 9c3f654

Browse files
Copilotmrlubos
andauthored
fix: use function in lint-staged config to avoid spawning too many processes on Windows
Agent-Logs-Url: https://github.com/hey-api/openapi-ts/sessions/03ec608d-b661-4244-b872-67f7043a87b6 Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>
1 parent 3fc92d1 commit 9c3f654

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default {
2-
'*': ['pnpm format', 'pnpm lint:fix'],
2+
'*': () => ['pnpm format', 'pnpm lint:fix'],
33
};

0 commit comments

Comments
 (0)