mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
A small bug in logging and API documentation
Former-commit-id: 1ab4534581987586741db13d3453db52973524fe
This commit is contained in:
1 parent
845c76abeb
commit
8a98210103
2 files changed
+13
-1
No files matched your search
@@ -57,7 +57,7 @@ func WriterDispatcher(prototypename string,
|
||||
info, err := os.Stat(directory)
|
||||
switch {
|
||||
case !os.IsNotExist(err) && !info.IsDir():
|
||||
log.Fatalln("Cannot Create the directory %s", directory)
|
||||
log.Fatalf("Cannot Create the directory %s", directory)
|
||||
case os.IsNotExist(err):
|
||||
os.Mkdir(directory, 0755)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user