Skip to content

Commit 64424bf

Browse files
committed
fixup! Update bin/cmd.js
1 parent 1380e08 commit 64424bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ if (args.length === 1 && args[0] === '-') {
142142

143143
// Replace args with the commit data directly
144144
for (let i = 0; i < commits.length; i++) {
145+
const commit = commits[i]
145146
if (!commit.id || !commit.message) {
146147
throw new Error('Each commit must have "id" and "message" properties')
147148
}

0 commit comments

Comments
 (0)