Skip to content

Commit d1d5cc9

Browse files
committed
marshall json with 2 indent (align with yaml marshalling)
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent b0f3901 commit d1d5cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ func (p *Project) MarshalJSON() ([]byte, error) {
597597
for k, v := range p.Extensions {
598598
m[k] = v
599599
}
600-
return json.Marshal(m)
600+
return json.MarshalIndent(m, "", " ")
601601
}
602602

603603
// WithServicesEnvironmentResolved parses env_files set for services to resolve the actual environment map for services

0 commit comments

Comments
 (0)