Now properly returning nil when appropriate.
MODIFY
config/config.go
config/config.go
@@ -261,9 +261,10 @@ func ensureDirectory(directoryPath string) error {
if createDirsError != nil {
return createDirsError
}
- }
return nil
}
+ return statError
+}
func getAbsolutePath(directoryPath string) (string, error) {
absolutePath, resolveError := files.ToAbsolutePath(directoryPath)

Now properly returning nil when appropriate.