We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3c420 commit f21e963Copy full SHA for f21e963
serve/package.go
@@ -308,12 +308,13 @@ func (s *PluginServe) newCmdPluginPackage() *cobra.Command {
308
if err := os.MkdirAll(distPath, 0755); err != nil {
309
return err
310
}
311
- if err := s.plugin.Init(cmd.Context(), nil, plugin.NewClientOptions{
312
- NoConnection: true,
313
- }); err != nil {
314
- return err
315
- }
+
316
if pluginKind == plugin.KindSource {
+ if err := s.plugin.Init(cmd.Context(), nil, plugin.NewClientOptions{
+ NoConnection: true,
+ }); err != nil {
+ return err
317
+ }
318
if err := s.writeTablesJSON(cmd.Context(), distPath); err != nil {
319
320
0 commit comments