From 3269afe03af6a9e2c3a5b4dd68d2e1a8bf2ffffd Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Tue, 28 Feb 2023 18:30:00 +0100 Subject: [PATCH] Fix test --- src/scripts/download_dila_dataset.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/download_dila_dataset.ts b/src/scripts/download_dila_dataset.ts index 21a25f4..42a3b13 100644 --- a/src/scripts/download_dila_dataset.ts +++ b/src/scripts/download_dila_dataset.ts @@ -163,9 +163,9 @@ async function downloadDataset( cd("..") await $`rm ${archiveName}` } - return (newDatasetVersionsCount = 0 + return newDatasetVersionsCount === 0 ? 10 // No new version of dataset has been added to git repository. - : 0) + : 0 } sade("download_dila_dataset ", true)