Skip to content

Commit

Permalink
Fix panic
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants committed Feb 26, 2024
1 parent 2e35221 commit 56896d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/plugin/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ func (c Cache) ListPluginTasks() []*PluginTask {
}

func buildPluginInput(plugin *Config, operation *OperationConfig, serverConnection common.StashServerConnection, args OperationInput) common.PluginInput {
if args == nil {
args = make(OperationInput)
}
if operation != nil {
applyDefaultArgs(args, operation.DefaultArgs)
}
Expand Down

0 comments on commit 56896d7

Please sign in to comment.