Skip to content

Commit 3e4cb4e

Browse files
committed
rename func
1 parent 01cab9a commit 3e4cb4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/devbox/devbox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func (d *Devbox) Shell(ctx context.Context, envOpts devopt.EnvOptions) error {
249249
WithShellStartTime(telemetry.ShellStart()),
250250
}
251251

252-
shell, err := d.newDevboxShell(envOpts, opts...)
252+
shell, err := d.newShell(envOpts, opts...)
253253
if err != nil {
254254
return err
255255
}

internal/devbox/shell.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ type DevboxShell struct {
6969

7070
type ShellOption func(*DevboxShell)
7171

72-
// newDevboxShell initializes the DevboxShell struct so it can be used to start a shell environment
72+
// newShell initializes the DevboxShell struct so it can be used to start a shell environment
7373
// for the devbox project.
74-
func (d *Devbox) newDevboxShell(envOpts devopt.EnvOptions, opts ...ShellOption) (*DevboxShell, error) {
74+
func (d *Devbox) newShell(envOpts devopt.EnvOptions, opts ...ShellOption) (*DevboxShell, error) {
7575
shPath, err := d.shellPath(envOpts)
7676
if err != nil {
7777
return nil, err

0 commit comments

Comments
 (0)