From 03cf36f11d7f09ccccbe52b2793b2c3f322d656a Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 28 Nov 2021 20:14:34 -0500 Subject: feed: update feed Add YDLPath to Feed. Set it during Validate(). --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.go b/config/config.go index 5f0e1fd..3d8c6f1 100644 --- a/config/config.go +++ b/config/config.go @@ -87,7 +87,7 @@ func (config *FernConfig) validate() error { return fmt.Errorf("'feeds' not set in config") } for _, feed := range config.Feeds { - err = feed.Validate(config.DumpDir) + err = feed.Validate(config.YDLPath, config.DumpDir) if err != nil { return err } -- cgit v1.2.3