forked from arduino/arduino-cli
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 2f0db25
committed
Fail when sketch files cannot be opened during load
Before commit e7d4eaa ([breaking] Refactor codebase to use a single
Sketch struct (arduino#1353)), any sketch file that could not be opened would
report a fatal error, but the behavior was changed to silently skip such
failing files instead.
This restores the original behavior and fails to load a sketch of some
of the contained files (after filtering on file extension, so this only
includes files that are actually intended to be processed), instead of
silently excluding the files (which likely produces hard to explain
compilation errors later).1 parent 38f72ef commit 2f0db25
2 files changed
+6
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 | - | ||
118 | + | ||
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
220 | - | ||
220 | + | ||
221 | 221 |
| |
222 | 222 |
| |
223 | 223 |
| |
224 | 224 |
| |
225 | 225 |
| |
226 | - | ||
227 | - | ||
228 | - | ||
229 | - | ||
226 | + | ||
227 | + | ||
228 | + | ||
229 | + | ||
230 | 230 |
| |
231 | 231 |
| |
232 | 232 |
| |
|
0 commit comments