Skip to content

Commit f755210

Browse files
committed
New build
1 parent ad90665 commit f755210

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

dist/index.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21408,8 +21408,13 @@ const createProperties = (repo, pageHash, dependsOn, { systems, owners, structur
2140821408
}
2140921409
}
2141021410

21411-
// Always have to check the hash afterwards, excluding the hash and the key but including links
21412-
const newPageHash = hash({ links: repo.metadata.links, ...properties }, {
21411+
// Always have to check the hash afterwards, excluding the hash and the key
21412+
const hashProperties = properties
21413+
// Add the links if they exist to the hash
21414+
if (repo.metadata?.links) {
21415+
hashProperties.links = repo.metadata?.links
21416+
}
21417+
const newPageHash = hash(hashProperties, {
2141321418
excludeKeys: (key) => {
2141421419
return key === 'Hash' || key === 'Updated'
2141521420
}

0 commit comments

Comments
 (0)