Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wrong error messages capitalization #2047

Closed
Labels
conclusion: resolvedIssue was resolved topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project
@Bikappa

Description

Describe the problem

The error message prompted when listing libraries of a missing platform has wrong capitalization
The error message in terminal should use lower case letters: "error": "Error listing Libraries: Unknown FQBN: platform arduino:samd is not installed" should be "error": "Error listing libraries: Unknown FQBN: platform arduino:samd is not installed"

To reproduce

Make sure the candidate platform, samd in the example, is not installed
One option is to remove them all

rm -rf ~/Library/Arduino15

Issue a command to list the libraries of a board

arduino-cli lib list --fqbn arduino:samd:xyz

Observe the error message with weird capitalization

Error listing Libraries: Unknown FQBN: platform arduino:samd is not installed

Expected behavior

The error message should be

Error listing libraries: Unknown FQBN: platform arduino:samd is not installed

Arduino CLI version

git commit a58d5ad

Operating system

MacOS

Operating system version

13.1 (22C65)

Additional context

Possibly other messages should be checked and eventually improved

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    conclusion: resolvedIssue was resolved topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /