mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-01-15 01:58:19 +01:00
Merge pull request #3419 from mcornella/fix-cake-target-cache
[Plugin: cake] switch newer-than logic to get the desired behavior
This commit is contained in:
commit
935f1914f9
@ -15,7 +15,7 @@ _cake_does_target_list_need_generating () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[ ! -f ${_cake_task_cache_file} ] && return 0;
|
[ ! -f ${_cake_task_cache_file} ] && return 0;
|
||||||
[ ${_cake_task_cache_file} -nt Cakefile ] && return 0;
|
[ Cakefile -nt ${_cake_task_cache_file} ] && return 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user