Skip to content

Commit fd3cce8

Browse files
committed
allow multiple calls to the plugin
1 parent b2968b3 commit fd3cce8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/v1/executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ func (e *Executor) initializePlugins(name string, job *Job) (result error) {
295295
parsed := e.parsePluginUse(step.Use)
296296
repoPath := e.getRepoPath(parsed.GitRepo)
297297
if s, err := os.Stat(repoPath); err == nil && s.IsDir() {
298-
panic("plugin '" + parsed.GitRepo + "' is already exists")
298+
continue
299299
}
300300

301301
_, err := git.PlainClone(repoPath, false, &git.CloneOptions{

0 commit comments

Comments
 (0)