mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-27 20:36:29 -04:00
Add entry refresh feature; fix ClampTrailingWhitespace ignoring the initial trim
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ func GenDeviceIDList() ([]fs.DirEntry, error) {
|
||||
// create a slice of all registered devices
|
||||
deviceIDList, err := os.ReadDir(ConfigDir + PathSeparator + "devices")
|
||||
if err != nil {
|
||||
return nil, errors.New("unable to read the devices directory: " + err.Error())
|
||||
return nil, errors.New("unable to read devices directory: " + err.Error())
|
||||
}
|
||||
return deviceIDList, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user