Skip to content

Commit

Permalink
Remove a now unused yml records slice
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnav committed Dec 6, 2024
1 parent 27e7a89 commit 11fadca
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/inspect/detectors/rmarkdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ func NewRMarkdownDetector(log logging.Logger) *RMarkdownDetector {
// (this pattern allows it to be followed by optional whitespace)
var rmdMetaRE = regexp.MustCompile(`(?s)^---\s*\n(.*\n)---\s*\n`)

// Known files that can be considered to identify projects as sites
var knownSiteYml = []string{"_site.yml", "_site.yaml", "_bookdown.yml", "_bookdown.yaml"}

func prepSiteFilesAndDirs(base util.AbsolutePath, files []string) ([]string, error) {
// Logic to ignore files highly based on existing logic at rsconnect
// It is nice to keep these files out from the generated configuration
Expand Down

0 comments on commit 11fadca

Please sign in to comment.