Skip to content

Commit

Permalink
Fix issue where blank strings are logged to the console
Browse files Browse the repository at this point in the history
  • Loading branch information
brentjanderson committed Nov 21, 2013
1 parent c078f9f commit bc9959b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion client.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ var log = function(level, args) {
if (error) {
throw error;
} else {
console.log(result);
if (result)
console.log(result);
}
});
Meteor.call.apply(null, args);
Expand Down
4 changes: 2 additions & 2 deletions smart.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"description": "Implement a stub of winston for the client, synced back to the server",
"homepage": "https://github.com/farpoint/meteor-winston-client",
"author": "Farpoint <hello@farpointStation.org>",
"version": "0.0.3",
"version": "0.0.4",
"git": "https://github.com/farpoint/meteor-winston-client.git",
"packages": {
"winston": ""
}
}
}

0 comments on commit bc9959b

Please sign in to comment.