Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unable to upload attachments in Halo version 2.20 #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

guqing
Copy link
Member

@guqing guqing commented Jan 7, 2025

What this PR does?

修复无法上传附件到 Halo 2.20 及以上版本问题

修复无法上传附件到 Halo 2.20 及以上版本问题

@f2c-ci-robot f2c-ci-robot bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jan 7, 2025
Copy link

f2c-ci-robot bot commented Jan 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -648,7 +644,7 @@ class HaloService {
})
.filter(Boolean) as string[];

return [ ...existNames, ...newTags.map((item) => item.data.metadata.name) ];
return [...existNames, ...newTags.map((item) => item.data.metadata.name)];
Copy link
Member Author

Choose a reason for hiding this comment

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

关于为什么修改这一行

      ✖ biome check --staged [FAILED]
↓ Skipped because of errors from tasks.
↓ Skipped because of errors from tasks.
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...

✖ biome check --staged:
src/service/index.ts format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × Formatter would have printed the following content:

    647 │ ····return·[·...existNames,·...newTags.map((item)·=>·item.data.metadata.name)·];
        │             -                                                                -

check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × Some errors were emitted while running checks.

@guqing guqing force-pushed the fix/attachment-upload branch from 59b2fc4 to 4907b4e Compare January 7, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant