mirror of
https://github.com/pikami/rss-dl.git
synced 2025-12-19 08:59:55 +00:00
Added configuration flags
This commit is contained in:
@@ -29,7 +29,7 @@ func WriteToFile(filename string, content string) {
|
||||
// InitOutputDirectory - Creates output directory
|
||||
func InitOutputDirectory(path string) {
|
||||
if _, err := os.Stat(path); os.IsNotExist(err) {
|
||||
os.Mkdir(path, os.ModePerm)
|
||||
os.MkdirAll(path, os.ModePerm)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user