Skip to content

Commit

Permalink
fix dataList issue #141
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Sep 18, 2024
1 parent d823463 commit 037aa07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/merge-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ const mergeDataList = async (dataList, options) => {

const artifacts = await mergeArtifacts(artifactsList, options);

// base on first one
// base on first one, do not change dataList (need for onData)
const mergedData = {
... dataList.shift()
... dataList[0]
};

// merge new options
Expand Down

0 comments on commit 037aa07

Please sign in to comment.