Skip to content

Commit

Permalink
Rename 'plugin/template' directory to 'plugin/.template' to exclude f…
Browse files Browse the repository at this point in the history
…rom tests
  • Loading branch information
zeina1i committed Apr 28, 2024
1 parent 7ecc7f6 commit 7004045
Show file tree
Hide file tree
Showing 19 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions plugin/embed_plugin_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ package plugin

import "embed"

//go:embed template/* template/project/*/.*
//go:embed .template/* .template/project/*/.*
var pluginTemplate embed.FS
var pluginTemplateRootDir = "template"
var pluginTemplateRootDir = ".template"

func IsPluginTemplateEmbedded() bool {
return true
Expand Down

0 comments on commit 7004045

Please sign in to comment.