Skip to content

remove default from non-optional arguments. - #17

Merged
vic merged 1 commit into
mainfrom
vic/jj-change-owlktyokzyxw
Jul 1, 2025
Merged

vic merged 1 commit into
mainfrom
vic/jj-change-owlktyokzyxw

Conversation

@vic

@vic vic commented Jul 1, 2025

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 1, 2025 17:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates default.nix by removing default values for certain function parameters, thereby making them required.

  • Dropped defaults for filterf and mapf
  • Removed default empty list for paths
  • Retained default for pipef
Comments suppressed due to low confidence (4)

default.nix:6

  • Removed default for filterf makes this parameter required; please update documentation and usage examples to reflect this breaking change.
      filterf,

default.nix:7

  • Removed default for mapf makes this parameter required; please update documentation and usage examples to reflect this breaking change.
      mapf,

default.nix:8

  • Removed default for paths makes this parameter required; ensure callers provide this argument and update any documentation accordingly.
      paths,

default.nix:2

  • Making these parameters mandatory may break existing usage; add or update tests to cover both presence and absence of filterf, mapf, and paths to catch regressions.
  perform =

@vic
vic merged commit 6d319ab into main Jul 1, 2025
@vic
vic deleted the vic/jj-change-owlktyokzyxw branch July 1, 2025 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants