fix: warning if run.local isn't preset

This commit is contained in:
Oliver Davies 2023-11-18 08:40:43 +00:00
parent 175d63950a
commit 61d2ca0d76
4 changed files with 4 additions and 4 deletions

View file

@ -104,7 +104,7 @@ function _run {
{% endif %}
# Include any local tasks.
source run.local || true
[[ -e run.local ]] && source run.local
TIMEFORMAT=$'\nTask completed in %3lR'
time "${@:-help}"

View file

@ -131,7 +131,7 @@ function _run {
}
# Include any local tasks.
source run.local || true
[[ -e run.local ]] && source run.local
TIMEFORMAT=$'\nTask completed in %3lR'
time "${@:-help}"

View file

@ -121,7 +121,7 @@ function _run {
{% endif %}
# Include any local tasks.
source run.local || true
[[ -e run.local ]] && source run.local
TIMEFORMAT=$'\nTask completed in %3lR'
time "${@:-help}"

View file

@ -24,7 +24,7 @@ function help {
}
# Include any local tasks.
source run.local || true
[[ -e run.local ]] && source run.local
TIMEFORMAT=$'\nTask completed in %3lR'
time "${@:-help}"