See Q77. When installing in a read-only location, updating the file is both redundant (nothing changed) and fails.
Make sure to only save the updated file if anything changed.
Differential D25446
only update cache file if something changed avivey on Oct 5 2023, 12:27. Authored by
Details
See Q77. When installing in a read-only location, updating the file is both redundant (nothing changed) and fails. Make sure to only save the updated file if anything changed. Run arc lint somewhere, make .phutil_module_cache and src/ read-only, run arc lint again - it should avoid crashing.
Diff Detail
Event TimelineComment Actions Tested before/after, thanks :) Just to clarify the test plan, is the file .phutil_module_cache supposed to be in /src? Comment Actions Yeah, the first run of arc lint creates the file, and subsequent runs do not update it. |