diff --git a/Makefile b/Makefile index de338f4..b6b46d1 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/internal/reader/decrypted-reader.go b/internal/reader/decrypted-reader.go index fa643d7..c99ee71 100644 --- a/internal/reader/decrypted-reader.go +++ b/internal/reader/decrypted-reader.go @@ -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() } }