Skip to content

Commit

Permalink
increase exec mac buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
ruddell committed Aug 15, 2017
1 parent c08ea68 commit dee92a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/generator-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -1913,7 +1913,7 @@ module.exports = class extends PrivateBase {
}
buildCmd += ` -P${profile}`;
const child = {};
child.stdout = exec(buildCmd, { maxBuffer: 1024 * 500 }, cb).stdout;
child.stdout = exec(buildCmd, { maxBuffer: 1024 * 10000 }, cb).stdout;
child.buildCmd = buildCmd;

return child;
Expand Down
2 changes: 1 addition & 1 deletion generators/upgrade/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ module.exports = UpgradeGenerator.extend({
callback();
});
};
this.gitExec(['add', '-A'], { maxBuffer: 1024 * 500 }, (code, msg, err) => {
this.gitExec(['add', '-A'], { maxBuffer: 1024 * 10000 }, (code, msg, err) => {
if (code !== 0) this.error(`Unable to add resources in git:\n${err}`);
commit();
});
Expand Down

0 comments on commit dee92a2

Please sign in to comment.