You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use a local Walk function
Because arduino-cli segfaults when sketchDir is a symbolic link, a simple
walk function is introduced with a twofold effect:
- fix the segfault
- allow to use symlinks
ref: https://www.google.com/search?q=golang+Walk+does+not+follow+symbolic+links
* tabs
* style
* comment
* retrigger CI
* retrigger CI
* style
* check sketch for being a file
* check sketch is not a directory
* additions:
- act on error in walk function (OS can detect symbolic links loops (lnk -> lnk))
- add a deepness detector for non trivial loops (dir/lnk -> ../..)
* fixes from "task check"
* updates per review
* style
* Update arduino/builder/sketch.go
Co-Authored-By: Roberto Sora <[email protected]>
* fixes
0 commit comments