We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59e406d commit 36733acCopy full SHA for 36733ac
1 file changed
scripts/dataset/publish/datagouv/index.js
@@ -45,12 +45,14 @@ function loadConfiguration() {
45
}
46
47
const datasetTitle = config.get('@opentermsarchive/engine.dataset.title');
48
+
49
if (!datasetTitle) {
50
throw new Error('"title" is required in config at @opentermsarchive/engine.dataset');
51
52
53
const frequency = config.has('@opentermsarchive/engine.dataset.datagouv.frequency') && config.get('@opentermsarchive/engine.dataset.datagouv.frequency');
- if (!frequency){
54
55
+ if (!frequency) {
56
throw new Error('"frequency" is required in config at @opentermsarchive/engine.dataset.datagouv');
57
58
0 commit comments