0.11.0-1 queue fix
This commit is contained in:
@@ -447,7 +447,9 @@ class DiskDetectionService extends EventEmitter {
|
||||
try {
|
||||
const parsed = JSON.parse(settingsMap.drive_devices || '[]');
|
||||
if (Array.isArray(parsed)) {
|
||||
explicitPaths = parsed.map((p) => String(p || '').trim()).filter(Boolean);
|
||||
explicitPaths = parsed
|
||||
.map((e) => (typeof e === 'string' ? e.trim() : String(e?.path || '').trim()))
|
||||
.filter(Boolean);
|
||||
}
|
||||
} catch (_error) {
|
||||
// malformed JSON — ignore, fall through to legacy
|
||||
|
||||
Reference in New Issue
Block a user