Add entry refresh feature; fix ClampTrailingWhitespace ignoring the initial trim

This commit is contained in:
2025-05-31 21:48:11 +00:00
parent 5666974a7f
commit ca277ba773
4 changed files with 71 additions and 13 deletions
+1 -1
View File
@@ -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
}