File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
26
26
### Fixed
27
27
- OSX splash screen re-disabled
28
28
- ArduinoCITable didn't initialize its size on ` clear() `
29
+ - CPP file aggregation now ignores dotfiles
29
30
30
31
### Security
31
32
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ def cpp_files_in(some_dir)
60
60
return [ ] unless File . exist? ( some_dir )
61
61
real = File . realpath ( some_dir )
62
62
files = Find . find ( real ) . reject { |path | File . directory? ( path ) }
63
- ret = files . select { |path | CPP_EXTENSIONS . include? ( File . extname ( path ) ) }
64
- ret
63
+ cpp = files . select { |path | CPP_EXTENSIONS . include? ( File . extname ( path ) ) }
64
+ cpp . reject { | path | File . basename ( path ) . start_with? ( "." ) } # ignore hidden
65
65
end
66
66
67
67
# CPP files that are part of the project library under test
You can’t perform that action at this time.
0 commit comments