调整prepare

This commit is contained in:
Max 2022-02-09 08:41:14 +08:00
parent fd2f1029a8
commit 0429961547
2 changed files with 6 additions and 6 deletions

View file

@ -147,9 +147,9 @@ jobs:
make fmt-check
make misspell-check
make plugin
mkdir -p $YAO_ROOT/tests/plugins/
mv $ROOT_PLUGIN/user.so $YAO_ROOT/tests/plugins/
ls -l $YAO_ROOT/tests/plugins/
mkdir -p $YAO_ROOT/plugins/
mv $ROOT_PLUGIN/user.so $YAO_ROOT/plugins/
ls -l $YAO_ROOT/plugins/
make migrate
- name: Run test

View file

@ -24,15 +24,15 @@ func Load(cfg config.Config) error {
var errs error = nil
if err := LoadFrom(path.Join(cfg.Root, "/kanban"), ""); err != nil {
log.Warn("load kanban error: %s ", err.Error())
log.Trace("load kanban error: %s ", err.Error())
errs = err
}
if err := LoadFrom(path.Join(cfg.Root, "/screen"), ""); err != nil {
log.Warn("load screen error: %s", err.Error())
log.Trace("load screen error: %s", err.Error())
errs = err
}
if err := LoadFrom(path.Join(cfg.Root, "/pages"), ""); err != nil {
log.Warn("load screen error: %s", err.Error())
log.Trace("load screen error: %s", err.Error())
errs = err
}