Skip to content

Commit f3c0dcc

Browse files
committed
fix: update constants
1 parent bf3a59d commit f3c0dcc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

domain/ide/command/ignores_request.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121
"fmt"
2222

23-
localworkflows "github.com/snyk/go-application-framework/pkg/local_workflows"
23+
"github.com/snyk/go-application-framework/pkg/local_workflows/ignore_workflow"
2424
"github.com/snyk/snyk-ls/application/config"
2525
"github.com/snyk/snyk-ls/domain/snyk"
2626
"github.com/snyk/snyk-ls/internal/types"
@@ -65,7 +65,7 @@ func (cmd *submitIgnoreRequest) Execute(ctx context.Context) (any, error) {
6565
gafConfig.Set("enrichResponse", true)
6666
gafConfig.Set("interactive", false)
6767

68-
result, err := engine.InvokeWithConfig(localworkflows.WORKFLOWID_IGNORE_CREATE, gafConfig)
68+
result, err := engine.InvokeWithConfig(ignore_workflow.WORKFLOWID_IGNORE_CREATE, gafConfig)
6969
if err != nil && len(result) == 0 {
7070
return nil, fmt.Errorf("failed to invoke ignore-create workflow: %w", err)
7171
}
@@ -89,7 +89,7 @@ func (cmd *submitIgnoreRequest) Execute(ctx context.Context) (any, error) {
8989
gafConfig.Set("enrichResponse", true)
9090
gafConfig.Set("interactive", false)
9191

92-
result, err := engine.InvokeWithConfig(localworkflows.WORKFLOWID_IGNORE_EDIT, gafConfig)
92+
result, err := engine.InvokeWithConfig(ignore_workflow.WORKFLOWID_IGNORE_EDIT, gafConfig)
9393
if err != nil && len(result) == 0 {
9494
return nil, fmt.Errorf("failed to invoke ignore-create workflow: %w", err)
9595
}
@@ -110,7 +110,7 @@ func (cmd *submitIgnoreRequest) Execute(ctx context.Context) (any, error) {
110110
gafConfig.Set("enrichResponse", true)
111111
gafConfig.Set("interactive", false)
112112

113-
result, err := engine.InvokeWithConfig(localworkflows.WORKFLOWID_IGNORE_DELETE, gafConfig)
113+
result, err := engine.InvokeWithConfig(ignore_workflow.WORKFLOWID_IGNORE_DELETE, gafConfig)
114114
if err != nil && len(result) == 0 {
115115
return nil, fmt.Errorf("failed to invoke ignore-create workflow: %w", err)
116116
}

0 commit comments

Comments
 (0)