Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 2, 2022
1 parent 284f2e5 commit 98eba21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/history/since/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ export const applySince = async function (rawResult, previous, { since, cwd }) {
}

const mergedResult = normalizeSystems(rawResult)
const sinceResultA = previous[sinceIndex]
const sinceResult = previous[sinceIndex]
const history = [...previous.slice(sinceIndex), rawResult]
return { mergedResult, history, sinceResult: sinceResultA }
return { mergedResult, history, sinceResult }
}

// Add `historyInfo.noDimensions`, used to filter out redundant dimensions
Expand Down

0 comments on commit 98eba21

Please sign in to comment.