Skip to content

Commit

Permalink
fix: add unique project names while creating multi-project ws from a …
Browse files Browse the repository at this point in the history
…single repo (#1305)

Signed-off-by: Ansuman Sahoo <[email protected]>
  • Loading branch information
unsuman authored Oct 30, 2024
1 parent 35da4d8 commit 9a8ce2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cmd/workspace/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ func processPrompting(ctx context.Context, apiClient *apiclient.APIClient, works

suggestedName := workspace_util.GetSuggestedName(initialSuggestion, workspaceNames)

dedupProjectNames(projects)

submissionFormConfig := create.SubmissionFormConfig{
ChosenName: workspaceName,
SuggestedName: suggestedName,
Expand Down

0 comments on commit 9a8ce2d

Please sign in to comment.