From a6d6d9b9a8fe41374cbe5ab50728f3fb6343a15d Mon Sep 17 00:00:00 2001 From: cliftonc Date: Thu, 26 May 2022 14:12:16 +0200 Subject: [PATCH] Create copy of object for hash :| --- src/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services.js b/src/services.js index 72f1c21..9ae6ca8 100644 --- a/src/services.js +++ b/src/services.js @@ -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