Skip to content

Commit 103a7c3

Browse files
committed
fixed two small error messages
1 parent 58cde92 commit 103a7c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/compile/compile.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func Compile(ctx context.Context, req *rpc.CompileReq,
4646
fqbnIn = sketch.Metadata.CPU.Fqbn
4747
}
4848
if fqbnIn == "" {
49-
return nil, fmt.Errorf("No Fully Qualified Board Name provided")
49+
return nil, fmt.Errorf("no FQBN provided")
5050
}
5151
fqbn, err := cores.ParseFQBN(fqbnIn)
5252
if err != nil {
@@ -81,7 +81,7 @@ func Compile(ctx context.Context, req *rpc.CompileReq,
8181
// "\"%[1]s:%[2]s\" platform is not installed, please install it by running \""+
8282
// cli.AppName+" core install %[1]s:%[2]s\".", fqbn.Package, fqbn.PlatformArch)
8383
// formatter.PrintErrorMessage(errorMessage)
84-
return nil, fmt.Errorf("Platform not installed")
84+
return nil, fmt.Errorf("platform not installed")
8585
}
8686

8787
builderCtx := &types.Context{}

0 commit comments

Comments
 (0)