mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Added warning message in case sketch contains invalid file name. Fixes #1390
This commit is contained in:
parent
59de784e9f
commit
05fa62d9db
@ -187,6 +187,8 @@ public class Sketch {
|
||||
if (Sketch.isSanitaryName(base)) {
|
||||
code[codeCount++] =
|
||||
new SketchCode(new File(folder, filename), extension);
|
||||
} else {
|
||||
editor.console.message(I18n.format("File name {0} is invalid: ignored", filename), true, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user