76: the current and previous args should be JS stat objects.
Reviewed-by: asquare
This commit is contained in:
parent
cca6a8cdd5
commit
78343aa603
@ -553,7 +553,7 @@
|
||||
|
||||
this._fsPoll.setFilePollCallback(function(status, previous, current) {
|
||||
if (that.onchange) {
|
||||
that.onchange(current, previous, status);
|
||||
that.onchange(new exports.Stats(current), new exports.Stats(previous), status);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user