diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-02-22 15:04:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 07:04:30 +0000 |
commit | e9b13732f3d3b5536e43bdfdb5757dbbf484d694 (patch) | |
tree | 6ee4f973b2e9f177931cf343501237a756b6c306 /cmd/doctor_test.go | |
parent | 182b9c193642838dd41bf26f0fe4b2e870770f7e (diff) | |
download | gitea-e9b13732f3d3b5536e43bdfdb5757dbbf484d694.tar.gz gitea-e9b13732f3d3b5536e43bdfdb5757dbbf484d694.zip |
Refactor cmd setup and remove deadcode (#29313)
* use `setup(ctx, c.Bool("debug"))` like all other callers
* `setting.RunMode = "dev"` is a no-op.
* `if _, err := os.Stat(setting.RepoRootPath); err != nil` could be
simplified
Diffstat (limited to 'cmd/doctor_test.go')
0 files changed, 0 insertions, 0 deletions