mirror of https://codeberg.org/pzp/pzp-sync.git
handle "none" goals
This commit is contained in:
parent
f4ab599bd1
commit
dd8499cf91
|
@ -107,7 +107,7 @@ class SyncStream extends Pipeable {
|
||||||
this.resume()
|
this.resume()
|
||||||
|
|
||||||
this.#goals.watch((/** @type {any} */ goal) => {
|
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.#requested.add(goal.id)
|
||||||
this.resume()
|
this.resume()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue