mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 07:42:40 +00:00
Merge pull request #2787 from overleaf/spd-count-files
Update file-count script for projects with no deleted-files array GitOrigin-RevId: 63b3af4f3c419ed032a6de8a90c680e1446ee422
This commit is contained in:
parent
17fe8e5590
commit
07cd6b257a
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ async function countFiles() {
|
||||||
console.error(
|
console.error(
|
||||||
projectId,
|
projectId,
|
||||||
files.length,
|
files.length,
|
||||||
project.deletedFiles.length,
|
(project.deletedFiles && project.deletedFiles.length) || 0,
|
||||||
docs.length,
|
docs.length,
|
||||||
project.deletedDocs.length
|
(project.deletedDocs && project.deletedDocs.length) || 0
|
||||||
)
|
)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err instanceof Errors.NotFoundError) {
|
if (err instanceof Errors.NotFoundError) {
|
||||||
|
|
Loading…
Reference in a new issue