diff --git a/arduino/builder/builder.go b/arduino/builder/builder.go index 2c058456f74..06ab9662676 100644 --- a/arduino/builder/builder.go +++ b/arduino/builder/builder.go @@ -375,7 +375,7 @@ func (b *Builder) build() error { b.Progress.CompleteStep() b.Progress.PushProgress() - if err := b.BuildSketch(b.libsDetector.IncludeFolders()); err != nil { + if err := b.buildSketch(b.libsDetector.IncludeFolders()); err != nil { return err } b.Progress.CompleteStep() @@ -468,7 +468,7 @@ func (b *Builder) build() error { b.Progress.CompleteStep() b.Progress.PushProgress() - if err := b.MergeSketchWithBootloader(); err != nil { + if err := b.mergeSketchWithBootloader(); err != nil { return err } b.Progress.CompleteStep() diff --git a/arduino/builder/sketch.go b/arduino/builder/sketch.go index 46f2e82771e..3a7c21f3ded 100644 --- a/arduino/builder/sketch.go +++ b/arduino/builder/sketch.go @@ -173,8 +173,8 @@ func writeIfDifferent(source []byte, destPath *paths.Path) error { return nil } -// BuildSketch fixdoc -func (b *Builder) BuildSketch(includesFolders paths.PathList) error { +// buildSketch fixdoc +func (b *Builder) buildSketch(includesFolders paths.PathList) error { includes := f.Map(includesFolders.AsStrings(), cpp.WrapWithHyphenI) if err := b.sketchBuildPath.MkdirAll(); err != nil { @@ -208,8 +208,8 @@ func (b *Builder) BuildSketch(includesFolders paths.PathList) error { return nil } -// MergeSketchWithBootloader fixdoc -func (b *Builder) MergeSketchWithBootloader() error { +// mergeSketchWithBootloader fixdoc +func (b *Builder) mergeSketchWithBootloader() error { if b.onlyUpdateCompilationDatabase { return nil }