Skip to content

fix(cli): uploadCounters increase only when files are uploaded - #6357

Merged
jrasm91 merged 2 commits into
immich-app:mainfrom
AngelPone:main
Jan 18, 2024
Merged

jrasm91 merged 2 commits into
immich-app:mainfrom
AngelPone:main

Conversation

@AngelPone

@AngelPone AngelPone commented Jan 13, 2024 •

Copy link
Copy Markdown
Contributor

Description

Currectly the upload function increase the uploadCounter for every asset that can not skip, causing issue #6263.

This PR moves uploadCounter++; before, increase the counter only when files are actually uploaded.

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable

@bo0tzz bo0tzz added the cli Tasks related to the Immich CLI label Jan 13, 2024
@alextran1502
alextran1502 requested a review from etnoy January 17, 2024 02:03
Comment thread cli/src/commands/upload.ts Outdated
@jrasm91
jrasm91 enabled auto-merge (squash) January 18, 2024 03:11
@jrasm91
jrasm91 merged commit b98d1bf into immich-app:main Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Tasks related to the Immich CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants