Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Apr 19, 2024
1 parent 1f4c53e commit a4fd9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/config/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func runSetCommand(ctx context.Context, srv rpc.ArduinoCoreServiceServer, args [
req := &rpc.SettingsSetValueRequest{
Key: args[0],
}
if len(args) == 1 {
if len(args) == 2 {
// Single value
req.EncodedValue = args[1]
req.ValueFormat = "cli"
Expand Down

0 comments on commit a4fd9ba

Please sign in to comment.