- changed status to duplicate
Incorrect type. Expected "object".
Issue #160
duplicate
Arch Linux, VSCode 1.35.0, Atlassian extension 1.4.2
Relevant fragment of bitbucket-pipelines.yml
:
pipelines:
branches:
'*':
- step:
caches:
- yarn # <-- this line shows as error
definitions:
caches:
yarn: /usr/local/share/.cache/yarn/v1
This can be fixed by editing ~/.vscode/extensions/atlassian.atlascode-1.4.2/resources/schemas/pipelines-schema.json
(patch attached):
% diff -u .vscode/extensions/atlassian.atlascode-1.4.2/resources/schemas/pipelines-schema{.orig,}.json
--- .vscode/extensions/atlassian.atlascode-1.4.2/resources/schemas/pipelines-schema.orig.json 2019-06-11 14:03:30.923926354 +0300
+++ .vscode/extensions/atlassian.atlascode-1.4.2/resources/schemas/pipelines-schema.json 2019-06-11 14:03:44.143762865 +0300
@@ -171,7 +171,11 @@
}
},
"caches": {
- "$ref": "#/definitions/caches"
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "Cache directory defined in definitions."
+ }
},
"services": {
"$ref": "#/definitions/services"
Comments (1)
-
- Log in to comment
Duplicate of #66.