diff --git a/shortcuts/wiki/wiki.go b/shortcuts/wiki/wiki.go index f54c727..246bb61 100644 --- a/shortcuts/wiki/wiki.go +++ b/shortcuts/wiki/wiki.go @@ -19,7 +19,7 @@ func Shortcuts() []*common.Shortcut { Name: "list", Description: "List wiki pages", Run: func(ctx *common.RuntimeContext) error { - if err := ctx.ResolveOwnerRepo(); err != nil { + if err := ctx.ResolveOwnerRepo(); err != nil { //这是传递参数的代码 return err } projectID, err := fetchProjectID(ctx)