Skip to content

Commit

Permalink
- update log methods
Browse files Browse the repository at this point in the history
  • Loading branch information
svenkatreddy committed May 26, 2017
1 parent 70c3ce9 commit 3007283
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const performance = (logInstance) => {
const preciseWords = prettyHrtime(diff, {precise:true});
const verboseWords = prettyHrtime(diff, {verbose:true});
if (logInstance) {
logInstance('Total Time:')
logInstance(time);
logInstance('Total Time:' + time);
}

return {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "execution-time",
"version": "1.1.0",
"version": "1.2.0",
"description": "ultility to measure execution time",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 3007283

Please sign in to comment.