Skip to content

Commit

Permalink
fix: code cmd error log (#193)
Browse files Browse the repository at this point in the history
Signed-off-by: Toma Puljak <[email protected]>
  • Loading branch information
Tpuljak authored Mar 13, 2024
1 parent e190b05 commit 9177fdd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cmd/workspace/code.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ var CodeCmd = &cobra.Command{

view_util.RenderInfoMessage(fmt.Sprintf("Opening the workspace project '%s' in your preferred IDE.", projectName))

log.Fatal(openIDE(ideId, activeProfile, workspaceId, projectName))
err = openIDE(ideId, activeProfile, workspaceId, projectName)
if err != nil {
log.Fatal(err)
}
},
}

Expand Down

0 comments on commit 9177fdd

Please sign in to comment.