This commit is contained in:
Matt Green 2017-01-27 13:13:37 -05:00
parent c3e7cf00d5
commit 0d5de7c4da

View File

@ -112,7 +112,7 @@ impl GitignoreFile {
return match pattern.pattern_type { return match pattern.pattern_type {
PatternType::Whitelist => false, PatternType::Whitelist => false,
PatternType::Ignore => true, PatternType::Ignore => true,
} };
} }
false false
@ -292,4 +292,3 @@ mod tests {
assert!(file.is_excluded(&base_dir().join("target").join("blah.txt"))); assert!(file.is_excluded(&base_dir().join("target").join("blah.txt")));
} }
} }