Skip to content

Commit

Permalink
fix(async-ora): print the result of the timing function, not the func…
Browse files Browse the repository at this point in the history
…tion code
  • Loading branch information
malept committed Dec 2, 2019
1 parent f4a9007 commit 1bcf036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/async-ora/src/ora.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const fakeOra = (name: string) => {
return fake;
},
fail: () => {
d(`Process Failed: ${fake.text}`.red, timing);
d(`Process Failed: ${fake.text}`.red, timing());
return fake;
},
succeed: () => {
Expand Down

0 comments on commit 1bcf036

Please sign in to comment.