Skip to content

Commit

Permalink
Create copy of object for hash :|
Browse files Browse the repository at this point in the history
  • Loading branch information
cliftonc committed May 26, 2022
1 parent a1f7518 commit a6d6d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const createProperties = (repo, pageHash, dependsOn, { systems, owners, structur
}

// Always have to check the hash afterwards, excluding the hash and the key
const hashProperties = properties
const hashProperties = Object.assign({}, properties)
// Add the links if they exist to the hash
if (repo.metadata?.links) {
hashProperties.links = repo.metadata?.links
Expand Down

0 comments on commit a6d6d9b

Please sign in to comment.