gathering datasette query information #611
Annotations
2 errors and 1 warning
test/unit/configValidation.test.js > Validate configs for each environment > validating config: local.yaml:
config/util.js#L112
YAMLException: bad indentation of a mapping entry (16:30)
13 | port: 6379
14 | }
15 | port: 5000
16 | url: 'http://localhost:5000/'features:
-----------------------------------^
17 | request-info:
18 | environments: ['local']
❯ generateError node_modules/js-yaml/dist/js-yaml.mjs:1273:10
❯ throwError node_modules/js-yaml/dist/js-yaml.mjs:1277:9
❯ readBlockMapping node_modules/js-yaml/dist/js-yaml.mjs:2272:7
❯ composeNode node_modules/js-yaml/dist/js-yaml.mjs:2531:12
❯ readDocument node_modules/js-yaml/dist/js-yaml.mjs:2715:3
❯ loadDocuments node_modules/js-yaml/dist/js-yaml.mjs:2778:5
❯ Object.load$1 [as load] node_modules/js-yaml/dist/js-yaml.mjs:2804:19
❯ readConfig config/util.js:112:15
❯ Module.combineConfigs config/util.js:124:24
❯ test/unit/configValidation.test.js:14:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { reason: 'bad indentation of a mapping entry', mark: { name: null, buffer: 'asyncRequestApi: {\n url: http://localhost:8000\n}\naws: {\n region: eu-west-2,\n bucket: \'dluhc-data-platform-request-files-local\',\n endpoint: \'http://localhost:4566\',\n s3ForcePathStyle: true,\n}\nredis: {\n secure: false,\n host: \'localhost\',\n port: 6379\n}\nport: 5000\nurl: \'http://localhost:5000/\'features:\n request-info:\n environments: [\'local\']\n enabled: false\n', position: 314, line: 15, column: 29, snippet: ' 13 | port: 6379\n 14 | }\n 15 | port: 5000\n 16 | url: \'http://localhost:5000/\'features:\n-----------------------------------^\n 17 | request-info:\n 18 | environments: [\'local\']' } }
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|