Skip to content

Commit

Permalink
Improve name
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 12, 2021
1 parent e0e3382 commit 8e54919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/combination/name.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getCombinationNamePart = function (
index,
) {
const dimension = index === 0 ? titleize(messageName) : messageName
return `${noteColor(dimension)} ${titleColor(id)}`
return `${noteColor(dimension)} "${titleColor(id)}"`
}

const titleize = function (string) {
Expand Down
3 changes: 1 addition & 2 deletions src/dev/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { getCombinationName } from '../combination/name.js'
import { titleColor } from '../report/utils/colors.js'
import { measureCombinations } from '../run/measure/main.js'

// Execute tasks without benchmarking them.
Expand All @@ -26,7 +25,7 @@ export const combinationDev = async function (combination, { cwd }) {
// Print the ids of each combination before running them, so users can
// visually separate their output
const printCombinationName = function (combination) {
const combinationName = titleColor(getCombinationName(combination))
const combinationName = getCombinationName(combination)
// eslint-disable-next-line no-restricted-globals, no-console
console.log(combinationName)
}

0 comments on commit 8e54919

Please sign in to comment.