Skip to content

Conversation

@mathsgod
Copy link

  • In 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.

* In `SnapshotClassFinderComputedCache`, normalize file names to ensure no path issues occur in Windows environments.
@oojacoboo
Copy link
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 環境下出現的路徑問題。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants