diff --git a/package.json b/package.json index 55a1af9..bfc9dae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gateway-admin", - "version": "0.9.6", + "version": "0.9.7", "scripts": { "dev": "bash -c \"source ./scripts/set-env.sh && next\"", "build": "bash -c \"source ./scripts/set-env.sh && next build\"", diff --git a/src/utils/contentValidation.js b/src/utils/contentValidation.js index 095d142..f785eab 100644 --- a/src/utils/contentValidation.js +++ b/src/utils/contentValidation.js @@ -76,14 +76,22 @@ function cvFilter(rowData, filename) { // all linked documents are not being processed return false } + if ( String(rowData.priority) === '950' ) { // discard these since tC can now handle rc links with an asterisk return false } + + if ( String(rowData.priority) === '787' ) { + // Per issue https://github.com/unfoldingWord/gateway-admin/issues/191 + return false + } + if ( String(rowData.priority) === '538' ) { // discard since this is returned for files that *do* have a newline at end return false } + if ( (filename.startsWith("tq") || filename.startsWith("sq") ) && String(rowData.priority) === '119' && String(rowData.fieldName) === 'Quote') { @@ -92,6 +100,7 @@ function cvFilter(rowData, filename) { } // to handle this false error for Spanish // Unexpected ¿ character at start of line + if ( String(rowData.message).startsWith('Unexpected ¿') ) { return false }