File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3636Documentation:
3737 https://deepsource.io/docs/cli#report
3838`
39- reportGraphqlQuery = "mutation($input: TrackRepositoryTestCoverageInput !) {\r \n trackRepositoryTestCoverage (input: $input) {\r \n ok\r \n error\r \n }\r \n }"
39+ reportGraphqlQuery = "mutation($input: CreateArtifactInput !) {\r \n createArtifact (input: $input) {\r \n ok\r \n error\r \n }\r \n }"
4040)
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ func main() {
182182 "application/json" ,
183183 )
184184 if err != nil {
185- fmt .Println ("DeepSource | Error | Reporting query failed: " , err )
185+ fmt .Println ("DeepSource | Error | Reporting failed | " , err )
186186 os .Exit (0 )
187187 }
188188
@@ -207,7 +207,7 @@ func main() {
207207 // }
208208
209209 if queryResponse .Data .CreateArtifact .Ok != true {
210- fmt .Println ("DeepSource | Error | Reporting query failed." )
210+ fmt .Println ("DeepSource | Error | Reporting failed | " , queryResponse . Data . CreateArtifact . Error )
211211 os .Exit (0 )
212212 }
213213
You can’t perform that action at this time.
0 commit comments