Skip to content

Commit

Permalink
Collapse looks for yaml files that start with "@" for specialCase
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Jun 22, 2018
1 parent 34d83e1 commit 31d367d
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion filetree/filetree.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (n Node) rootFile() bool {
}

func (n Node) specialCase() bool {
re := regexp.MustCompile(`orb\.(yml|yaml)$`)
re := regexp.MustCompile(`^@.*\.(yml|yaml)$`)
return re.MatchString(n.basename())
}

Expand Down

0 comments on commit 31d367d

Please sign in to comment.