Skip to content

Commit

Permalink
fix: show ok/failure in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmichalina committed Jan 25, 2019
1 parent 780e34e commit 1ec2b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Expand Up @@ -43,8 +43,8 @@ export const pingcli = () => {

pingr.run(args as any).subscribe(res => {
res.match({
fail: a => console.log(1),
ok: a => console.log(2)
fail: _ => console.log('FAILED'),
ok: _ => console.log('OK')
})
})
}

0 comments on commit 1ec2b61

Please sign in to comment.