Skip to content

Comments

Fix broken macOS build caused by uploadChunk changes#151

Merged
marinofaggiana merged 1 commit intomainfrom
bugfix/broken-mac-build
Jun 15, 2025
Merged

Fix broken macOS build caused by uploadChunk changes#151
marinofaggiana merged 1 commit intomainfrom
bugfix/broken-mac-build

Conversation

@claucambra
Copy link
Contributor

No description provided.

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
@claucambra claucambra self-assigned this Jun 13, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the broken macOS build by updating the error handling in the upload process. The change involves updating the completion call by removing an extra nil parameter and replacing the error object with a concise enum value.

  • Updated error parameter in the completion call in NextcloudKit+Upload.swift.
  • Removed an extra parameter from the completion function call.
Comments suppressed due to low confidence (1)

Sources/NextcloudKit/NextcloudKit+Upload.swift:141

  • Ensure that the updated completion function signature now accepts four parameters after removing the previously provided nil value. Confirm consistency with the updated error handling API.
return completion(account, nil, nil, .errorChunkNoEnoughMemory)

@marinofaggiana marinofaggiana merged commit 63e0105 into main Jun 15, 2025
4 checks passed
@marinofaggiana marinofaggiana deleted the bugfix/broken-mac-build branch June 15, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants