Repository navigation
Update watch-example.ts to reflect done error is conditionally passed - #2675
Conversation
|
Welcome @loucadufault! |
cjihrig
left a comment
There was a problem hiding this comment.
Left two minor suggestions. Thanks for the improvement.
| (err) => { | ||
| console.log(err); | ||
| if (err) { | ||
| console.log(err); |
There was a problem hiding this comment.
| console.log(err); | |
| console.error(err); |
There was a problem hiding this comment.
thanks, made the change
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjihrig, loucadufault The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
simple example change
There is very little documentation about this class online, so this example is pretty much the only usage (aside from looking at code) that explains the role of error param