You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
If you have a configuration file with incorrect indentation, such as:
tasks:
run:
description: Run the applicationprerequisites: # This line shouldn't be indented, it should be at the same level as 'description'
- setuprun:
container: build-envcommand: yarn start
then you get an error message like this:
/home/user/Repositories/project/batect.yml (line 27, column 18): mapping values are not allowed here
in 'reader', line 28, column 20:
prerequisites:
^
Caused by: com.fasterxml.jackson.databind.JsonMappingException: mapping values are not allowed here
in 'reader', line 28, column 20:
prerequisites:
^
at [Source: (sun.nio.ch.ChannelInputStream); line: 28, column: 20]
at [Source: (sun.nio.ch.ChannelInputStream); line: 27, column: 18] (through reference chain: batect.config.io.ConfigurationFile["tasks"])
...which is not very clear at all. It would be better if it led the user to what the real issue is.
The text was updated successfully, but these errors were encountered:
If you have a configuration file with incorrect indentation, such as:
then you get an error message like this:
...which is not very clear at all. It would be better if it led the user to what the real issue is.
The text was updated successfully, but these errors were encountered: