Skip to content

Commit 46dfa42

Browse files
authored
Merge pull request #474 from INCF/chrisfilo-patch-14
special treatment of icloud
2 parents ac2a221 + 008309f commit 46dfa42

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/files.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,11 @@ function getBIDSIgnoreFileObj(dir) {
105105

106106
function getBIDSIgnore(dir, callback) {
107107
var ig = ignore()
108+
.add('.*')
109+
.add('!*.icloud')
108110
.add('/derivatives')
109111
.add('/sourcedata')
110-
.add('/code')
111-
.add('.*');
112+
.add('/code');
112113

113114
var bidsIgnoreFileObj = getBIDSIgnoreFileObj(dir);
114115
if (bidsIgnoreFileObj) {

0 commit comments

Comments
 (0)