We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 913ff56 commit 096171dCopy full SHA for 096171d
packages/umbreld/source/modules/blacklist-uas/blacklist-uas.ts
@@ -31,7 +31,7 @@ export default async function blacklistUASDriver() {
31
if (!uevent.includes('DRIVER=uas')) continue
32
const [vendorId, productId] = uevent
33
.split('\n')
34
- .find((line) => line?.startsWith('PRODUCT='))
+ .find((line) => line?.startsWith('PRODUCT='))!
35
.replace('PRODUCT=', '')
36
.split('/')
37
const deviceId = `${vendorId}:${productId}`
packages/umbreld/source/modules/server/trpc/routes/apps.ts
@@ -51,7 +51,7 @@ export default router({
51
}),
52
)
53
54
- const appDataSortedByNames = appData.sort((a, b) => a.name?.localeCompare(b.name))
+ const appDataSortedByNames = appData.sort((a, b) => (a.name ?? '').localeCompare(b.name ?? ''))
55
56
return appDataSortedByNames
57
0 commit comments