Skip to content

Commit 55a610a

Browse files
committed
feat: don't print project json on init
1 parent 68022b2 commit 55a610a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/cmd/init.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func handleInit(ctx context.Context, cmd *cli.Command) error {
209209
}
210210

211211
params := stainless.ProjectNewParams{}
212-
res, err := cc.client.Projects.New(
212+
_, err := cc.client.Projects.New(
213213
ctx,
214214
params,
215215
option.WithMiddleware(cc.AsMiddleware()),
@@ -218,7 +218,6 @@ func handleInit(ctx context.Context, cmd *cli.Command) error {
218218
return err
219219
}
220220
group.Success("Project created successfully")
221-
fmt.Printf("%s\n", ColorizeJSON(res.RawJSON(), os.Stdout))
222221

223222
var config WorkspaceConfig
224223
{

0 commit comments

Comments
 (0)