summaryrefslogtreecommitdiffstats
path: root/config/config.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-11-28 20:14:34 -0500
committersiddharth <s@ricketyspace.net>2021-11-28 20:15:35 -0500
commit03cf36f11d7f09ccccbe52b2793b2c3f322d656a (patch)
tree232d9af00e0960ee63cc216c5ceec1d129e0f7da /config/config.go
parentc1ace352e8ba09ec3c00317e72de6b871a8964ec (diff)
feed: update feed
Add YDLPath to Feed. Set it during Validate().
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go2
1 files changed, 1 insertions, 1 deletions
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
}