gh-mrva
gh-mrva copied to clipboard
cannot unmarshal number into Go value of type []string
The use of database.json as
{
"version": 1,
"databases": {
"variantAnalysis": {
"repositoryLists": [
{
"name": "aaa-list",
"repositories": ["sim4n6/aaa"]
}
],
"owners": [],
"repositories": []
}
},
"selected": {
"kind": "variantAnalysisUserDefinedList",
"listName": "aaa-list"
}
}
in the command :
mv linux-amd64 gh-mrva
chmod +x gh-mrva
./gh-mrva submit --language cpp --session mirva-session-1 \
--list aaa-list \
--query ./Queries/mine/query.ql
Resolving aaa-list repositories from /home/sim4n6/Workspace/database.json
2024/08/09 10:55:40 json: cannot unmarshal number into Go value of type []string
The issue is related to the structure of the json file ? version maybe removed ?
Maybe I should go. With
# Install
gh extension install .
# Sanity check
gh mrva -h