We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
WarnDeprecatedFiles
1 parent 8632870 commit df7596eCopy full SHA for df7596e
cli/upload/upload.go
@@ -79,12 +79,8 @@ func runUploadCommand(command *cobra.Command, args []string) {
79
}
80
sketchPath := arguments.InitSketchPath(path)
81
82
- // .pde files are still supported but deprecated, this warning urges the user to rename them
83
- if files := sketch.CheckForPdeFiles(sketchPath); len(files) > 0 && importDir == "" && importFile == "" {
84
- feedback.Error(tr("Sketches with .pde extension are deprecated, please rename the following files to .ino:"))
85
- for _, f := range files {
86
- feedback.Error(f)
87
- }
+ if importDir == "" && importFile == "" {
+ arguments.WarnDeprecatedFiles(sketchPath)
88
89
90
sk, err := sketch.New(sketchPath)
0 commit comments