@@ -20,7 +20,7 @@ import (
20
20
"context"
21
21
"fmt"
22
22
23
- localworkflows "github.com/snyk/go-application-framework/pkg/local_workflows"
23
+ "github.com/snyk/go-application-framework/pkg/local_workflows/ignore_workflow "
24
24
"github.com/snyk/snyk-ls/application/config"
25
25
"github.com/snyk/snyk-ls/domain/snyk"
26
26
"github.com/snyk/snyk-ls/internal/types"
@@ -65,7 +65,7 @@ func (cmd *submitIgnoreRequest) Execute(ctx context.Context) (any, error) {
65
65
gafConfig .Set ("enrichResponse" , true )
66
66
gafConfig .Set ("interactive" , false )
67
67
68
- result , err := engine .InvokeWithConfig (localworkflows .WORKFLOWID_IGNORE_CREATE , gafConfig )
68
+ result , err := engine .InvokeWithConfig (ignore_workflow .WORKFLOWID_IGNORE_CREATE , gafConfig )
69
69
if err != nil && len (result ) == 0 {
70
70
return nil , fmt .Errorf ("failed to invoke ignore-create workflow: %w" , err )
71
71
}
@@ -89,7 +89,7 @@ func (cmd *submitIgnoreRequest) Execute(ctx context.Context) (any, error) {
89
89
gafConfig .Set ("enrichResponse" , true )
90
90
gafConfig .Set ("interactive" , false )
91
91
92
- result , err := engine .InvokeWithConfig (localworkflows .WORKFLOWID_IGNORE_EDIT , gafConfig )
92
+ result , err := engine .InvokeWithConfig (ignore_workflow .WORKFLOWID_IGNORE_EDIT , gafConfig )
93
93
if err != nil && len (result ) == 0 {
94
94
return nil , fmt .Errorf ("failed to invoke ignore-create workflow: %w" , err )
95
95
}
@@ -110,7 +110,7 @@ func (cmd *submitIgnoreRequest) Execute(ctx context.Context) (any, error) {
110
110
gafConfig .Set ("enrichResponse" , true )
111
111
gafConfig .Set ("interactive" , false )
112
112
113
- result , err := engine .InvokeWithConfig (localworkflows .WORKFLOWID_IGNORE_DELETE , gafConfig )
113
+ result , err := engine .InvokeWithConfig (ignore_workflow .WORKFLOWID_IGNORE_DELETE , gafConfig )
114
114
if err != nil && len (result ) == 0 {
115
115
return nil , fmt .Errorf ("failed to invoke ignore-create workflow: %w" , err )
116
116
}
0 commit comments