Skip to content

Commit

Permalink
fix: add label to the log
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 14, 2023
1 parent f5d093b commit ffe7075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function cypressSplit(on, config) {
let splitSpecs

const cwd = process.cwd()
console.log('%s specs from the current directory %s', cwd, label)
console.log('%s specs from the current directory %s', label, cwd)

if (SPLIT_FILE) {
debug('loading split file %s', SPLIT_FILE)
Expand Down Expand Up @@ -198,6 +198,7 @@ function cypressSplit(on, config) {
)
console.log(
'%s approximate total duration for current chunk is %s (plus Cypress overhead)',
label,
humanizeDuration(sums[splitIndex]),
)
} catch (err) {
Expand Down

0 comments on commit ffe7075

Please sign in to comment.