Skip to content

Commit 59edf11

Browse files
committed
Linter fixes
1 parent faa40d5 commit 59edf11

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

devbox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type Devbox interface {
3939
Services() (services.Services, error)
4040
StartProcessManager(ctx context.Context, runInCurrentShell bool, requestedServices []string, background bool, processComposeFileOrDir string) error
4141
StartServices(ctx context.Context, runInCurrentShell bool, services ...string) error
42-
StopServices(ctx context.Context, runInCurrentShell bool, allProjects bool, services ...string) error
42+
StopServices(ctx context.Context, runInCurrentShell, allProjects bool, services ...string) error
4343

4444
// Generate files
4545
Generate(ctx context.Context) error

internal/impl/devbox.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@ func (d *Devbox) Services() (services.Services, error) {
539539
}
540540

541541
func (d *Devbox) StartServices(
542-
ctx context.Context, runInCurrentShell bool, serviceNames ...string) error {
542+
ctx context.Context, runInCurrentShell bool, serviceNames ...string,
543+
) error {
543544
if !runInCurrentShell {
544545
return d.RunScript(ctx, "devbox",
545546
append(
@@ -581,7 +582,7 @@ func (d *Devbox) StartServices(
581582
return nil
582583
}
583584

584-
func (d *Devbox) StopServices(ctx context.Context, runInCurrentShell bool, allProjects bool, serviceNames ...string) error {
585+
func (d *Devbox) StopServices(ctx context.Context, runInCurrentShell, allProjects bool, serviceNames ...string) error {
585586
if !runInCurrentShell {
586587
args := []string{"services", "stop", "--run-in-current-shell"}
587588
args = append(args, serviceNames...)
@@ -660,7 +661,8 @@ func (d *Devbox) ListServices(ctx context.Context, runInCurrentShell bool) error
660661
}
661662

662663
func (d *Devbox) RestartServices(
663-
ctx context.Context, runInCurrentShell bool, serviceNames ...string) error {
664+
ctx context.Context, runInCurrentShell bool, serviceNames ...string,
665+
) error {
664666
if !runInCurrentShell {
665667
return d.RunScript(ctx, "devbox",
666668
append(

0 commit comments

Comments
 (0)