diff --git a/arduino/builder/sketch_test.go b/arduino/builder/sketch_test.go index 1c186067a3a..dbe040edae4 100644 --- a/arduino/builder/sketch_test.go +++ b/arduino/builder/sketch_test.go @@ -207,7 +207,7 @@ func TestCopyAdditionalFiles(t *testing.T) { require.Len(t, s1.AdditionalFiles, 1) // copy the sketch over, create a fake main file we don't care about it - // but we need it for `SketchLoad` to suceed later + // but we need it for `SketchLoad` to succeed later err = builder.SketchCopyAdditionalFiles(s1, tmp) require.Nil(t, err) fakeIno := filepath.Join(tmp, fmt.Sprintf("%s.ino", filepath.Base(tmp))) diff --git a/cli/core/install.go b/cli/core/install.go index 011ad7679bd..6bbcb958d32 100644 --- a/cli/core/install.go +++ b/cli/core/install.go @@ -61,13 +61,13 @@ func runInstallCommand(cmd *cobra.Command, args []string) { } for _, platformRef := range platformsRefs { - plattformInstallReq := &rpc.PlatformInstallReq{ + platformInstallReq := &rpc.PlatformInstallReq{ Instance: inst, PlatformPackage: platformRef.PackageName, Architecture: platformRef.Architecture, Version: platformRef.Version, } - _, err := core.PlatformInstall(context.Background(), plattformInstallReq, output.ProgressBar(), output.TaskProgress()) + _, err := core.PlatformInstall(context.Background(), platformInstallReq, output.ProgressBar(), output.TaskProgress()) if err != nil { feedback.Errorf("Error during install: %v", err) os.Exit(errorcodes.ErrGeneric) diff --git a/cli/core/search.go b/cli/core/search.go index 807bc7f216c..7175e3d66bb 100644 --- a/cli/core/search.go +++ b/cli/core/search.go @@ -60,7 +60,7 @@ func runSearchCommand(cmd *cobra.Command, args []string) { resp, err := core.PlatformSearch(inst.GetId(), arguments, allVersions) if err != nil { - feedback.Errorf("Error saerching for platforms: %v", err) + feedback.Errorf("Error searching for platforms: %v", err) os.Exit(errorcodes.ErrGeneric) } diff --git a/cli/lib/search.go b/cli/lib/search.go index c57fb8d0ba0..e0538183f39 100644 --- a/cli/lib/search.go +++ b/cli/lib/search.go @@ -57,7 +57,7 @@ func runSearchCommand(cmd *cobra.Command, args []string) { Query: (strings.Join(args, " ")), }) if err != nil { - feedback.Errorf("Error saerching for Library: %v", err) + feedback.Errorf("Error searching for Library: %v", err) os.Exit(errorcodes.ErrGeneric) } diff --git a/legacy/builder/utils/utils.go b/legacy/builder/utils/utils.go index 077dc02a667..97f4e184655 100644 --- a/legacy/builder/utils/utils.go +++ b/legacy/builder/utils/utils.go @@ -434,12 +434,12 @@ func QuoteCppPath(path *paths.Path) string { // is a string contained in double quotes, with any backslashes or // quotes escaped with a backslash. If a valid string was present at the // start of the given line, returns the unquoted string contents, the -// remaineder of the line (everything after the closing "), and true. +// remainder of the line (everything after the closing "), and true. // Otherwise, returns the empty string, the entire line and false. func ParseCppString(line string) (string, string, bool) { // For details about how these strings are output by gcc, see: // https://github.com/gcc-mirror/gcc/blob/a588355ab948cf551bc9d2b89f18e5ae5140f52c/libcpp/macro.c#L491-L511 - // Note that the documentaiton suggests all non-printable + // Note that the documentation suggests all non-printable // characters are also escaped, but the implementation does not // actually do this. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51259 if len(line) < 1 || line[0] != '"' { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy