Skip to content

Commit

Permalink
Merge branch 'pressholdings-fix' of github.com:contentstack/cli into …
Browse files Browse the repository at this point in the history
…pressholding-entries-fix
  • Loading branch information
shafeeqd959 committed Jul 13, 2022
2 parents b10979e + 273b8e7 commit 211afcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/contentstack-export/src/commands/cm/stacks/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ class ExportCommand extends Command {
defaultConfig.versioning = exportVersion
}

if (data) {
defaultConfig.data = data
}

if (alias) {
let managementTokens = this.getToken(alias);
if (managementTokens) {
Expand Down
3 changes: 2 additions & 1 deletion packages/contentstack-export/src/lib/export/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,9 @@ ExportAssets.prototype = {
console.log(`${asset.filename}: ${Math.round(progressData.percentage)}%`);
});
assetStreamRequest.pipe(str).pipe(assetFileStream);
} else {
assetStreamRequest.pipe(assetFileStream);
}
assetStreamRequest.pipe(assetFileStream);
})
.catch(reject);
assetFileStream
Expand Down

0 comments on commit 211afcb

Please sign in to comment.