mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-27 22:19:56 -04:00
Add entry refresh feature; fix ClampTrailingWhitespace ignoring the initial trim
This commit is contained in:
1 parent
5666974a7f
commit
ca277ba773
4 files changed
+71
-13
No files matched your search
+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