You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "likyh (via GitHub)" <gi...@apache.org> on 2023/01/30 08:06:39 UTC

[GitHub] [incubator-devlake] likyh commented on a diff in pull request #4269: Feat(sonarqube): projects

likyh commented on code in PR #4269:
URL: https://github.com/apache/incubator-devlake/pull/4269#discussion_r1090282356


##########
backend/generator/template/plugin/impl/impl_complete_plugin.go-template:
##########
@@ -76,11 +76,22 @@ func (p {{ .PluginName }}) PrepareTaskData(taskCtx plugin.TaskContext, options m
     if err != nil {
         return nil, errors.Default.Wrap(err, "unable to get {{ .PluginName }} API client instance")
     }
-
-    return &tasks.{{ .PluginName }}TaskData{
-        Options:   op,
-        ApiClient: apiClient,
-    }, nil
+    taskData := &tasks.SonarqubeTaskData{

Review Comment:
   use `tab` instead of `space`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org