🐛 fix(cache): Normalize file names to avoid Windows issues#768
Open
mathsgod wants to merge 4 commits intothecodingmachine:masterfrom
Open
🐛 fix(cache): Normalize file names to avoid Windows issues#768mathsgod wants to merge 4 commits intothecodingmachine:masterfrom
mathsgod wants to merge 4 commits intothecodingmachine:masterfrom
Conversation
* In `SnapshotClassFinderComputedCache`, normalize file names to ensure no path issues occur in Windows environments.
Collaborator
|
@mathsgod thanks for the PR. We're going to need all tests passing. Also, do we have test coverage for the cache? |
* 在 `SnapshotClassFinderComputedCache` 中新增檢查,以跳過內部類別或沒有檔案的類別。 * 確保在 Windows 環境下正常化檔案名稱,避免潛在的問題。
* 在 `SnapshotClassFinderComputedCache` 類別中,對檔案名稱進行正規化處理。 * 這樣可以避免在 Windows 環境下出現的路徑問題。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SnapshotClassFinderComputedCache, normalize file names to ensure no path issues occur in Windows environments.Errors regarding devMode and prodMode on Windows OS
Regarding this ERROR, I already know the cause. It's due to Windows file path issues. It can be resolved simply by normalizing the paths.