Browse Source

fix linting error

browser-support
Mark Wubben 9 years ago
parent
commit
54726d80e7
  1. 8
      lib/watcher.js

8
lib/watcher.js

@ -100,10 +100,12 @@ Watcher.prototype.updateTestDependencies = function (file, sources) {
}
var isUpdate = this.testDependencies.some(function (dep) {
if (dep.file === file) {
dep.sources = sources;
return true;
if (dep.file !== file) {
return false;
}
dep.sources = sources;
return true;
});
if (!isUpdate) {

Loading…
Cancel
Save