diff --git a/bin/add-edb-ids b/bin/add-edb-ids index 6765bb8..2fb8af9 100755 --- a/bin/add-edb-ids +++ b/bin/add-edb-ids @@ -31,7 +31,7 @@ const existingReleaseParameter = /^( *)\|( *)release( *)=( *).*$/m; * @returns {string} */ function insertInfoboxEDBID (pageContent, edbID) { - if (pageContent.includes(`edb-id = ${edbID}`)) { + if (pageContent.includes(`id-edb = ${edbID}`)) { console.log('what????', pageContent); throw new Error('Page seems to already contain its own EDB ID??'); }