Skip to content

Commit

Permalink
Merge back from production and Bump rc version
Browse files Browse the repository at this point in the history
  • Loading branch information
daneryl committed Jul 26, 2024
2 parents f3724a2 + 61bdab3 commit 4c7496e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uwazi",
"version": "1.177.0-rc4",
"version": "1.177.0-rc5",
"description": "Uwazi is a free, open-source solution for organising, analysing and publishing your documents.",
"keywords": [
"react"
Expand Down
4 changes: 2 additions & 2 deletions scripts/filesHealthCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function print(content: any, error?: 'error') {
process[error ? 'stderr' : 'stdout'].write(`${LINE_PREFIX}${JSON.stringify(content)}\n`);
}

type FileRecord = { type: string; filename: string };
type FileRecord = { type: string; filename: string; url?: string };

function filterFilesInStorage(files: string[]) {
return files.filter(file => !file.endsWith('activity.log'));
Expand All @@ -53,7 +53,7 @@ async function handleTenant(tenantName: string) {
storage.getPath(file.filename, file.type)
);

if (!existsInStorage) {
if (!existsInStorage && !(file.type === 'attachment' && file.url)) {
missingInStorage += 1;
print(
{
Expand Down

0 comments on commit 4c7496e

Please sign in to comment.