Skip to content

Commit 8da2bd0

Browse files
committed
fix comments
1 parent 2e0cb77 commit 8da2bd0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

internal/devpkg/narinfo_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (p *Package) IsInBinaryCache() (bool, error) {
2727
if p.PatchGlibc {
2828
return false, nil
2929
}
30-
// Packages with non-default outputs are not used to be taken from the binary cache.
30+
// Packages with non-default outputs are not to be taken from the binary cache.
3131
if len(p.Outputs) > 0 {
3232
return false, nil
3333
}

internal/shellgen/flake_input.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type SymlinkJoin struct {
5656
}
5757

5858
// BuildInputsForSymlinkJoin returns a list of SymlinkJoin objects that can be used
59-
// as the buildInput. Used for packages that have non-default outputs that needs to
59+
// as the buildInput. Used for packages that have non-default outputs that need to
6060
// be combined into a single buildInput.
6161
func (f *flakeInput) BuildInputsForSymlinkJoin() ([]*SymlinkJoin, error) {
6262
joins := []*SymlinkJoin{}

internal/shellgen/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var tmplFS embed.FS
3030
// devbox.PrintEnv, which is the core function from which devbox shell/run/direnv
3131
// functionality is derived.
3232
func GenerateForPrintEnv(ctx context.Context, devbox devboxer) error {
33-
defer trace.StartRegion(ctx, "generateForPrintEnv").End()
33+
defer trace.StartRegion(ctx, "GenerateForPrintEnv").End()
3434

3535
plan, err := newFlakePlan(ctx, devbox)
3636
if err != nil {

0 commit comments

Comments
 (0)