Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 8708a7f

Browse files
committed
chore: fix lint
1 parent 1d8727e commit 8708a7f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/reactivity/src/dep.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,5 +329,6 @@ export function trigger(
329329
* Test only
330330
*/
331331
export function getDepFromReactive(object: any, key: string | number | symbol) {
332+
// eslint-disable-next-line
332333
return targetMap.get(object)?.get(key)
333334
}

packages/runtime-core/src/scheduler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function queueJob(job: SchedulerJob) {
9898
} else if (
9999
// fast path when the job id is larger than the tail
100100
!(job.flags! & SchedulerJobFlags.PRE) &&
101-
job.id >= (queue[queue.length - 1]?.id || 0)
101+
job.id >= ((queue[queue.length - 1] && queue[queue.length - 1].id) || 0)
102102
) {
103103
queue.push(job)
104104
} else {

0 commit comments

Comments
 (0)