Skip to content

Commit

Permalink
Merge branch 'release-0.9.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
theNerd247 committed Sep 27, 2023
2 parents 1b07878 + 6507ebb commit 00cdd3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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\"",
Expand Down
9 changes: 9 additions & 0 deletions src/utils/contentValidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -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
}
Expand Down

0 comments on commit 00cdd3b

Please sign in to comment.