fix: encrypted reader

This commit is contained in:
divyam234 2024-03-22 12:16:12 +05:30
parent 8d7245cd5b
commit e31147aa72
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ MODULE_PATH := $(shell go list -m)
GOOS ?= $(shell go env GOOS)
GOARCH ?= $(shell go env GOARCH)
.PHONY: all build run clean frontend backend run sync-ui tag-and-push retag dev-tag dev-retag
.PHONY: all build run clean frontend backend run sync-ui retag patch-version minor-version
all: build

View file

@ -69,7 +69,7 @@ func (r *decrpytedReader) Read(p []byte) (n int, err error) {
err = nil
}
r.pos++
if r.pos < len(r.parts) {
if r.pos < len(r.ranges) {
r.reader, err = r.nextPart()
}
}