Skip to content

Commit 18470b9

Browse files
Add .github to the list of VCS folders
This prevents a warning when a library contains a .github folder, which can contain some templates and other configuration for the github platform. Signed-off-by: Matthijs Kooijman <[email protected]>
1 parent 432c974 commit 18470b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/arduino.cc/builder/utils/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func FilterFilesWithExtension(extension string) filterFiles {
146146
}
147147
}
148148

149-
var SOURCE_CONTROL_FOLDERS = map[string]bool{"CVS": true, "RCS": true, ".git": true, ".svn": true, ".hg": true, ".bzr": true}
149+
var SOURCE_CONTROL_FOLDERS = map[string]bool{"CVS": true, "RCS": true, ".git": true, ".github": true, ".svn": true, ".hg": true, ".bzr": true}
150150

151151
func IsSCCSOrHiddenFile(file os.FileInfo) bool {
152152
return IsSCCSFile(file) || IsHiddenFile(file)

0 commit comments

Comments
 (0)