microsoft / microsoft/LocalizedStringKit

Failed to exclude Carthage file

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
293
Forks
12
PR merge metrics
No merged PRs in 30d

Description

My command:
localizedstringkit --exclude Carthage --path . --localized-string-kit-path ./LocalizedStringKit

Then the error is:
Found invalid calls to Localized in file Found invalid calls to Localized ./Carthage/Checkouts/localizedstringkit

My project directory looks like:

project root
- Carthage
- LocalizedStringKit
- LocalizedStringKit.bundle

Not sure what's wrong, but I have to use SPM to workaround this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the command from the project root with --exclude Carthage and --path ., using ./LocalizedStringKit as the localized-string-kit path. Inspect how the CLI handles excluded directories and verify that Carthage/Checkouts/localizedstringkit is not scanned; done means the command no longer reports invalid calls from that path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.