feat: 将剩余功能完善到 cmdpal #2
Annotations
11 warnings and 1 notice
|
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, GuillaumeFalourd/setup-windows10-sdk-action@v2, microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
cmdpal/PowerTranslatorExtension/Service/Youdao/BackupTranslator.cs#L12
Names of 'Members' and 'PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.Web, PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.web' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
cmdpal/PowerTranslatorExtension/Service/Youdao/BackupTranslator.cs#L12
Names of 'Members' and 'PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.Basic, PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.basic' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
cmdpal/PowerTranslatorExtension/Service/Aliyun/AlibabaTranslator.cs#L9
Names of 'Members' and 'PowerTranslatorExtension.Service.Aliyun.AliyunTranslateResult.Data, PowerTranslatorExtension.Service.Aliyun.AliyunTranslateResult.data' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
cmdpal/PowerTranslatorExtension/Middleware/AliasMiddleware.cs#L3
Rename namespace PowerTranslatorExtension.Middleware.Alias so that it no longer conflicts with the reserved language keyword 'Alias'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
|
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L25
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L24
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L34
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
cmdpal/PowerTranslatorExtension/Helper/HistoryHelper.cs#L15
Member 'mark' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
|
cmdpal/PowerTranslatorExtension/Helper/HistoryHelper.cs#L11
Remove the underscores from member name PowerTranslatorExtension.History.HistoryHelper.MAX_HISTORY_NUM (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
|
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L88
Dereference of a possibly null reference.
|
|
|
The logs for this run have expired and are no longer available.
Loading