Interpret local library paths relative to the sketch folder by sparkyb · Pull Request #3006 · arduino/arduino-cli (original) (raw)
Previously a local library path would be relative to the sketch folder if you passed a folder path to compile, but if you passed a path to a sketch .ino file, it would be considered relative to that. This change makes it so that relative paths will consistently be interpreted relative to the folder whether you specify a .ino file or not.
Please check if the PR fulfills these requirements
- The PR has no duplicates (please search among the Pull Requests
before creating one) - The PR follows
our contributing guidelines - Tests for the changes have been added (for bug fixes / features)
- Docs have been added / updated (for bug fixes / features)
UPGRADING.mdhas been updated with a migration guide (for breaking changes)configuration.schema.jsonupdated if new parameters are added.
What kind of change does this PR introduce?
Bug fix