Skip to content

Commit 53818fa

Browse files
committed
fix(ci): path for specific sketch
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 84ba855 commit 53818fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: CI/build/arduino-cli.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,10 @@ def manage_inos():
441441
ino_file = Path(args.ino)
442442
if ino_file.exists():
443443
# Store only the path
444-
if ino_file.is_file(args.ino):
444+
if ino_file.is_file():
445445
sketch_list.append(ino_file.parent)
446446
else:
447-
sketch_list.append(args.ino)
447+
sketch_list.append(ino_file)
448448
else:
449449
for path in sketches_path_list:
450450
fp = path / ino_file

0 commit comments

Comments
 (0)