Fix backup id-edb search check
This commit is contained in:
parent
ca097159dd
commit
64a5bc6af1
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const existingReleaseParameter = /^( *)\|( *)release( *)=( *).*$/m;
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
function insertInfoboxEDBID (pageContent, edbID) {
|
function insertInfoboxEDBID (pageContent, edbID) {
|
||||||
if (pageContent.includes(`edb-id = ${edbID}`)) {
|
if (pageContent.includes(`id-edb = ${edbID}`)) {
|
||||||
console.log('what????', pageContent);
|
console.log('what????', pageContent);
|
||||||
throw new Error('Page seems to already contain its own EDB ID??');
|
throw new Error('Page seems to already contain its own EDB ID??');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue