Skip to content

Commit d92be42

Browse files
Update commands/service_profile_dump.go
Co-authored-by: Alessio Perugini <alessio@perugini.xyz>
1 parent a93b7e9 commit d92be42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/service_profile_dump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (s *arduinoCoreServerImpl) ProfileDump(ctx context.Context, req *rpc.Profil
3535
switch req.GetDumpFormat() {
3636
case "yaml":
3737
return &rpc.ProfileDumpResponse{EncodedProfile: sk.Project.AsYaml()}, nil
38-
case "json":
38+
case "", "json":
3939
data, err := json.MarshalIndent(sk.Project, "", " ")
4040
if err != nil {
4141
return nil, fmt.Errorf("error marshalling settings: %v", err)

0 commit comments

Comments
 (0)