Skip to content

Commit a4fd9ba

Browse files
committed
fixup
1 parent 1f4c53e commit a4fd9ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)