Skip to content

Commit a2ec7a2

Browse files
committed
more lint
1 parent d564749 commit a2ec7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/nix/nixprofile/profile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func ProfileInstall(ctx context.Context, args *ProfileInstallArgs) error {
259259
// It is up to the caller to ensure that the underlying profile has not changed since the items
260260
// were queried.
261261
func ProfileRemoveItems(profilePath string, items []*NixProfileListItem) error {
262-
if items == nil || len(items) == 0 {
262+
if len(items) == 0 {
263263
return nil
264264
}
265265
indexes := []string{}

0 commit comments

Comments
 (0)