end-to-end/forgejo/fixtures/doctor.sh
Earl Warren b62866f3ae
lib: move forgejocli to the forgejo instance WORK_PATH
Instead of having it in $DIR so that there can be one forgejocli per
forgejo instance.
2024-06-04 15:29:00 +02:00

9 lines
211 B
Bash

# SPDX-License-Identifier: MIT
function doctor_run() {
local config=$1
local base=$(work_path_base $config)
local work_path=$DIR/$base
$work_path/forgejocli doctor check --all # --log-file -
}