Commit a442b63
fix: resolve spec paths relative to package install dir
The get_spec_dict function used a relative path (farialimer/specs/{provider})
which only works when the CWD contains the farialimer source tree. When
farialimer is installed as a package and imported from another project,
os.walk finds nothing and returns an empty dict, breaking all parsers
and generators.
Fix: resolve the specs directory relative to __file__ so it works
regardless of the caller's working directory.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8510be1 commit a442b63
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments