Skip to content

Commit 6281ce7

Browse files
committed
fixup
1 parent 87441dd commit 6281ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/config/set.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func runSetCommand(ctx context.Context, srv rpc.ArduinoCoreServiceServer, args [
5454
req := &rpc.SettingsSetValueRequest{
5555
Key: args[0],
5656
}
57-
if len(args) == 1 {
57+
if len(args) == 2 {
5858
// Single value
5959
req.EncodedValue = args[1]
6060
req.ValueFormat = "cli"

0 commit comments

Comments
 (0)