Skip to content

Commit

Permalink
fix(logs): don’t debug whole configs
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jan 15, 2019
1 parent e14212e commit 3a515cd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion lib/manager/bundler/range.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ module.exports = {
*/

function getRangeStrategy(config) {
logger.debug({ config });
return 'replace';
}
2 changes: 1 addition & 1 deletion lib/manager/cargo/artifacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function getArtifacts(
newCargoTomlContent,
config
) {
await logger.debug({ config }, `cargo.getArtifacts(${cargoTomlFileName})`);
await logger.debug(`cargo.getArtifacts(${cargoTomlFileName})`);
let cargoLockFileName;
try {
cargoLockFileName = cargoTomlFileName.replace(/\.toml$/, '.lock');
Expand Down
1 change: 0 additions & 1 deletion lib/manager/cargo/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module.exports = {
};

function updateDependency(currentFileContent, upgrade) {
logger.debug({ config: upgrade }, 'cargo.updateDependency()');
// TODO
return currentFileContent;
}

0 comments on commit 3a515cd

Please sign in to comment.