Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed dependencies based on timestamp.

Reviewed by me.
  • Loading branch information...
commit 25d6185589950baa4d7dce228755dadb4bc041d7 1 parent 10efb0f
Francisco Ryan Tolmasky I tolmasky authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/jake/filetask.js
  2. +1 −1  lib/jake/task.js
2  lib/jake/filetask.js
View
@@ -59,7 +59,7 @@ FileTask.prototype.outOfDate = function(aTimestamp)
{
var application = this.application();
- this._prerequisites.some(function(aTaskName)
+ return this._prerequisites.some(function(aTaskName)
{
return application.lookupTask(aTaskName).timestamp() > aTimestamp;
}, this);
2  lib/jake/task.js
View
@@ -178,7 +178,7 @@ Task.prototype.timestamp = function()
return Math.max.apply(null, this._prerequisites.map(function(/*String*/ aPrerequisiteName)
{
- return this._application.lookupTask(aPrerequisiteName).timestamp();
+ return this._application.lookupTask(aPrerequisiteName, this._scope).timestamp();
}, this));
}
Please sign in to comment.
Something went wrong with that request. Please try again.