Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 19, 2021
1 parent 28dbf95 commit 935ca65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/combination/name.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import { getCombinationIds } from './ids.js'
// report time
// - `combinationName*` uses ids, which is more useful at `run`-time
// (`dev`, preview bottom bar) since users might use those on the next run
// This might return an empty string when all dimensions are filtered out:
// - This happens when benchmarking a single combination
// - This can also happen during the `init` stage, since it misses the tasks
// and steps dimensions
export const getCombinationNameColor = function (combination, noDimensions) {
const combinationA = omitCombNoDimensions(combination, noDimensions)
return getCombinationIds(combinationA)
Expand Down

0 comments on commit 935ca65

Please sign in to comment.