Finalize inbox artifacts and error protocol
This commit is contained in:
@@ -48,6 +48,9 @@ func newFetchCmd(root *rootOptions) *cobra.Command {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if len(threads) == 0 {
|
||||
return protocol.NoMatchingWork("no matching work")
|
||||
}
|
||||
|
||||
resp := protocol.Success{
|
||||
OK: true,
|
||||
|
||||
Reference in New Issue
Block a user