Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 2, 2022
1 parent ae89f84 commit a5cbfee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/select/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ import { throwValidationError } from './validate.js'
// - If users use `select` to limit how many combinations are being measured,
// but still want to see all combinations, they should perform two commands:
// first `run` then `show`.
// Selection happens after delta resolution:
// - This means the `count` delta format targets results regardless of whether
// they are selected
// - This is because:
// - Changing `select` does not change the history start|end, which is less
// confusing
// - This does not require loading files before resolving deltas
export const selectRawResults = function (rawResults, select) {
return rawResults
.map((rawResult) => selectRawResult(rawResult, select))
Expand Down

0 comments on commit a5cbfee

Please sign in to comment.