Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Validate parts #117

Description

@GretaCB

Per #56, and since zero-indexing can be a bit of a mindbend (for myself included), would be good to add a check ensuring that --part never equals or exceeds --parts.

Something like

if (part >= parts) {
  return callback("woops");
}

cc @mapsam @millzpaugh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions