Browse Source

Fix test/pummel/test-watch-file.js

v0.7.4-release
Ryan Dahl 13 years ago
parent
commit
7b4370e5f8
  1. 3
      lib/fs.js
  2. 3
      test/pummel/test-watch-file.js

3
lib/fs.js

@ -686,7 +686,8 @@ StatWatcher.prototype.stop = function() {
var statWatchers = {};
function inStatWatchers(filename) {
return Object.prototype.hasOwnProperty.call(statWatchers, filename);
return Object.prototype.hasOwnProperty.call(statWatchers, filename) &&
statWatchers[filename];
}

3
test/pummel/test-watch-file.js

@ -19,9 +19,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
// libuv-broken
var common = require('../common');
var assert = require('assert');

Loading…
Cancel
Save