should not execute feed if version.url==""
This commit is contained in:
@@ -28,7 +28,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (feed Feed) ShouldExecute() (bool, error) {
|
func (feed Feed) ShouldExecute() (bool, error) {
|
||||||
if !feed.Entry.Deleted.IsZero() {
|
if !feed.Entry.Deleted.IsZero() || feed.Version.URL == "" {
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
next, err := feed.Next()
|
next, err := feed.Next()
|
||||||
|
|||||||
Reference in New Issue
Block a user