Skip to content

Commit

Permalink
Fix logging of messages with sequence numbers (tildeio#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent99 committed Feb 20, 2019
1 parent 2d611a5 commit 174a00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/router/utils.ts
Expand Up @@ -71,7 +71,7 @@ export function log(router: Router<any>, ...args: (string | number)[]): void {
return;
}

if (arguments.length === 2) {
if (args.length === 2) {
let [sequence, msg] = args;
router.log('Transition #' + sequence + ': ' + msg);
} else {
Expand Down

0 comments on commit 174a00c

Please sign in to comment.