Skip to content

Commit

Permalink
correct logging of the difference between source and target
Browse files Browse the repository at this point in the history
* Results of comparing Environments diffable target .. with source .. is `[object Object]`

change-type: patch
  • Loading branch information
ab77 authored and klutchell committed Jun 18, 2024
1 parent a24dcb8 commit 100fc03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/diffable.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = class Diffable extends ErrorStash {
const mergeDeep = new MergeDeep(this.log, this.github, ignorableFields)
const compare = mergeDeep.compareDeep(existingRecords, filteredEntries)
const results = { msg: 'Changes found', additions: compare.additions, modifications: compare.modifications, deletions: compare.deletions }
this.log.debug(`Results of comparing ${this.constructor.name} diffable target ${JSON.stringify(existingRecords)} with source ${JSON.stringify(filteredEntries)} is ${results}`)
this.log.debug(`Results of comparing ${this.constructor.name} diffable target ${JSON.stringify(existingRecords)} with source ${JSON.stringify(filteredEntries)} is ${JSON.stringify(results)}`)
if (!compare.hasChanges) {
this.log.debug(`There are no changes for ${this.constructor.name} for repo ${this.repo}. Skipping changes`)
return Promise.resolve()
Expand Down

0 comments on commit 100fc03

Please sign in to comment.