Skip to content

Commit dada34f

Browse files
Merge pull request #12 from johnlindquist/fix/linting-error
fix: add missing trailing comma in lib.ts
2 parents e93e3fe + 1ed2160 commit dada34f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/hooks/lib.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ export function log(...args: any[]): void {
102102
// Main hook runner
103103
export function runHook(handlers: HookHandlers): void {
104104
const hook_type = process.argv[2]
105-
105+
106106
process.stdin.on('data', async (data) => {
107107
try {
108108
const inputData = JSON.parse(data.toString())
109109
const payload: HookPayload = {
110110
...inputData,
111-
hook_type: hook_type as any
111+
hook_type: hook_type as any,
112112
}
113113

114114
switch (hook_type) {

0 commit comments

Comments
 (0)