Skip to content

Commit

Permalink
fix: pretty print workspace file
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Feb 24, 2023
1 parent 978423b commit d1ea76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/packages/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func writeWorkspaceFile(selectedWorkspace models.Workspace) error {
WorkspaceId: selectedWorkspace.ID,
}

marshalledWorkspaceFile, err := json.Marshal(workspaceFileToSave)
marshalledWorkspaceFile, err := json.MarshalIndent(workspaceFileToSave, "", " ")
if err != nil {
return err
}
Expand Down

0 comments on commit d1ea76e

Please sign in to comment.