mirror of https://codeberg.org/pzp/pzp-sync.git
cosmetic refactor
This commit is contained in:
parent
574d43f1a6
commit
31ed9d0036
|
@ -101,8 +101,10 @@ class Algorithm {
|
|||
return this.#wantNewestRange(localHave, remoteHave, goal.count)
|
||||
|
||||
case 'none':
|
||||
default:
|
||||
return EMPTY_RANGE
|
||||
|
||||
default:
|
||||
throw new Error(`Unrecognized goal type: ${goal.type}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue