handle "none" goals

This commit is contained in:
Andre Staltz 2023-12-19 16:29:42 +02:00
parent f4ab599bd1
commit dd8499cf91
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class SyncStream extends Pipeable {
this.resume()
this.#goals.watch((/** @type {any} */ goal) => {
if (!this.#requested.has(goal.id)) {
if (!this.#requested.has(goal.id) && goal.type !== 'none') {
this.#requested.add(goal.id)
this.resume()
}