Use 10 exit code when dataset has not changed

This commit is contained in:
Emmanuel 2023-02-26 11:56:48 +01:00
parent cdfb5be4b7
commit e9e37d747a

View file

@ -164,7 +164,7 @@ async function downloadDataset(
await $`rm ${archiveName}` await $`rm ${archiveName}`
} }
return (newDatasetVersionsCount = 0 return (newDatasetVersionsCount = 0
? 1 // No new version of dataset has been added to git repository. ? 10 // No new version of dataset has been added to git repository.
: 0) : 0)
} }