Skip to content

Commit

Permalink
调整prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Feb 9, 2022
1 parent fd2f102 commit 0429961
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions page/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 0429961

Please sign in to comment.