Skip to content

Commit

Permalink
Update release files for tag: latest
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinpinto committed Dec 18, 2019
1 parent 3e11549 commit aee146a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10504,14 +10504,15 @@ exports.octokitLogger = (...args) => {
if (typeof arg === 'string') {
return arg;
}
const argCopy = Object.assign({}, arg);
// Do not log file buffers
if (arg.file) {
arg.file = '== raw file buffer info removed ==';
if (argCopy.file) {
argCopy.file = '== raw file buffer info removed ==';
}
if (arg.data) {
arg.data = '== raw file buffer info removed ==';
if (argCopy.data) {
argCopy.data = '== raw file buffer info removed ==';
}
return JSON.stringify(arg);
return JSON.stringify(argCopy);
})
.reduce((acc, val) => `${acc} ${val}`, '');
};
Expand Down

0 comments on commit aee146a

Please sign in to comment.