Added configuration flags

This commit is contained in:
Pijus Kamandulis committed 2019-04-20 22:30:42 +03:00
1 parent 39d14eaf7a
commit e13f98eb4a
3 files changed
+34 -10

No files matched your search

+1 -1
View File
@@ -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)
}
}