Fix all errcheck warnings

This commit is contained in:
Deluan 2020-04-26 12:35:26 -04:00 • committed by Deluan Quintão
commit 5cd453afeb
14 changed files with 37 additions and 38 deletions

View file

@ -22,7 +22,7 @@ func Init(t *testing.T, skipOnShort bool) {
appPath, _ := filepath.Abs(filepath.Join(filepath.Dir(file), ".."))
confPath, _ := filepath.Abs(filepath.Join(appPath, "tests", "navidrome-test.toml"))
println("Loading test configuration file from " + confPath)
os.Chdir(appPath)
_ = os.Chdir(appPath)
conf.LoadFromFile("tests/navidrome-test.toml", true)
noLog := os.Getenv("NOLOG")