Now uses the more semantically correct AND operator

This commit is contained in:
Alexander Ekdahl
2013-02-04 22:17:03 +01:00
parent 7512e6bb66
commit 4cd7c22ee7

View File

@@ -338,7 +338,7 @@ module Jekyll
['.', '_', '#'].include?(e[0..0]) ||
e[-1..-1] == '~' ||
self.exclude.glob_include?(e) ||
(File.symlink?(e) & self.safe)
(File.symlink?(e) && self.safe)
end
end
end