Add entry refresh feature; fix ClampTrailingWhitespace ignoring the initial trim

This commit is contained in:
RandyTheSilly committed 2025-05-31 21:48:11 +00:00
1 parent 5666974a7f
commit ca277ba773
4 files changed
+71 -13

No files matched your search

+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
}