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)