Compare commits
No commits in common. "master" and "v2.16.0" have entirely different histories.
|
@ -379,12 +379,12 @@ class TaskmanDirFiles implements \ArrayAccess, \Countable, \Iterator
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function is_stale(string $path, iterable $deps) : bool
|
function is_stale(string $file, iterable $deps) : bool
|
||||||
{
|
{
|
||||||
if(!is_file($path) && !is_dir($path))
|
if(!is_file($file))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
$fmtime = filemtime($path);
|
$fmtime = filemtime($file);
|
||||||
|
|
||||||
foreach($deps as $dep)
|
foreach($deps as $dep)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue