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

See how to contribute

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

#3005