Skip to content

Commit f47df14

Browse files
committed
Lint
1 parent 59e406d commit f47df14

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

scripts/dataset/publish/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import config from 'config';
2-
31
import logger from '../logger/index.js';
42

53
import publishDataGouv from './datagouv/index.js';

0 commit comments

Comments
 (0)