modal-client icon indicating copy to clipboard operation
modal-client copied to clipboard

`ignore=[modal.FilePatternMatcher.from_file(...)]` uses absolute file paths for matching

Open N-Demir opened this issue 8 months ago • 0 comments

Summary

Following up from this discussion

FilePatternMatcher matches on absolute paths instead of relative paths, so rules in a .dockerignore like *.txt will not trigger (but **/*.txt would). This behavior is different to passing in rules directly to ignore. See this repo for a reproducible example.

Version

0.74.14

App ID

No response

N-Demir avatar Apr 22 '25 14:04 N-Demir