Skip to content

Commit 36733ac

Browse files
committed
Lint
1 parent 59e406d commit 36733ac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • scripts/dataset/publish/datagouv

scripts/dataset/publish/datagouv/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,14 @@ function loadConfiguration() {
4545
}
4646

4747
const datasetTitle = config.get('@opentermsarchive/engine.dataset.title');
48+
4849
if (!datasetTitle) {
4950
throw new Error('"title" is required in config at @opentermsarchive/engine.dataset');
5051
}
5152

5253
const frequency = config.has('@opentermsarchive/engine.dataset.datagouv.frequency') && config.get('@opentermsarchive/engine.dataset.datagouv.frequency');
53-
if (!frequency){
54+
55+
if (!frequency) {
5456
throw new Error('"frequency" is required in config at @opentermsarchive/engine.dataset.datagouv');
5557
}
5658

0 commit comments

Comments
 (0)