mirror of https://github.com/fmartingr/shiori.git
chore: removed logger
This commit is contained in:
parent
40c3da1faa
commit
b54f51b3a0
|
@ -2,7 +2,6 @@ package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
fp "path/filepath"
|
fp "path/filepath"
|
||||||
|
|
||||||
|
@ -54,8 +53,6 @@ func preRunRootHandler(cmd *cobra.Command, args []string) {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println(dataDir)
|
|
||||||
|
|
||||||
err = os.MkdirAll(dataDir, os.ModePerm)
|
err = os.MkdirAll(dataDir, os.ModePerm)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
cError.Printf("Failed to create data dir: %v\n", err)
|
cError.Printf("Failed to create data dir: %v\n", err)
|
||||||
|
|
Loading…
Reference in New Issue