Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cc8e2ca

Browse files
howjmayumbynos
authored andcommitted
fix typos (#741)
suceed -> succeed documentaiton -> documentation saerching -> searching plattform -> platform
1 parent a9ad6f7 commit cc8e2ca

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

‎arduino/builder/sketch_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func TestCopyAdditionalFiles(t *testing.T) {
207207
require.Len(t, s1.AdditionalFiles, 1)
208208

209209
// copy the sketch over, create a fake main file we don't care about it
210-
// but we need it for `SketchLoad` to suceed later
210+
// but we need it for `SketchLoad` to succeed later
211211
err = builder.SketchCopyAdditionalFiles(s1, tmp)
212212
require.Nil(t, err)
213213
fakeIno := filepath.Join(tmp, fmt.Sprintf("%s.ino", filepath.Base(tmp)))

‎cli/core/install.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ func runInstallCommand(cmd *cobra.Command, args []string) {
6161
}
6262

6363
for _, platformRef := range platformsRefs {
64-
plattformInstallReq := &rpc.PlatformInstallReq{
64+
platformInstallReq := &rpc.PlatformInstallReq{
6565
Instance: inst,
6666
PlatformPackage: platformRef.PackageName,
6767
Architecture: platformRef.Architecture,
6868
Version: platformRef.Version,
6969
}
70-
_, err := core.PlatformInstall(context.Background(), plattformInstallReq, output.ProgressBar(), output.TaskProgress())
70+
_, err := core.PlatformInstall(context.Background(), platformInstallReq, output.ProgressBar(), output.TaskProgress())
7171
if err != nil {
7272
feedback.Errorf("Error during install: %v", err)
7373
os.Exit(errorcodes.ErrGeneric)

‎cli/core/search.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func runSearchCommand(cmd *cobra.Command, args []string) {
6060

6161
resp, err := core.PlatformSearch(inst.GetId(), arguments, allVersions)
6262
if err != nil {
63-
feedback.Errorf("Error saerching for platforms: %v", err)
63+
feedback.Errorf("Error searching for platforms: %v", err)
6464
os.Exit(errorcodes.ErrGeneric)
6565
}
6666

‎cli/lib/search.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func runSearchCommand(cmd *cobra.Command, args []string) {
5757
Query: (strings.Join(args, " ")),
5858
})
5959
if err != nil {
60-
feedback.Errorf("Error saerching for Library: %v", err)
60+
feedback.Errorf("Error searching for Library: %v", err)
6161
os.Exit(errorcodes.ErrGeneric)
6262
}
6363

‎legacy/builder/utils/utils.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,12 +434,12 @@ func QuoteCppPath(path *paths.Path) string {
434434
// is a string contained in double quotes, with any backslashes or
435435
// quotes escaped with a backslash. If a valid string was present at the
436436
// start of the given line, returns the unquoted string contents, the
437-
// remaineder of the line (everything after the closing "), and true.
437+
// remainder of the line (everything after the closing "), and true.
438438
// Otherwise, returns the empty string, the entire line and false.
439439
func ParseCppString(line string) (string, string, bool) {
440440
// For details about how these strings are output by gcc, see:
441441
// https://github.com/gcc-mirror/gcc/blob/a588355ab948cf551bc9d2b89f18e5ae5140f52c/libcpp/macro.c#L491-L511
442-
// Note that the documentaiton suggests all non-printable
442+
// Note that the documentation suggests all non-printable
443443
// characters are also escaped, but the implementation does not
444444
// actually do this. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51259
445445
if len(line) < 1 || line[0] != '"' {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /