Now uses the more semantically correct AND operator
This commit is contained in:
parent
7512e6bb66
commit
4cd7c22ee7
|
@ -338,7 +338,7 @@ module Jekyll
|
||||||
['.', '_', '#'].include?(e[0..0]) ||
|
['.', '_', '#'].include?(e[0..0]) ||
|
||||||
e[-1..-1] == '~' ||
|
e[-1..-1] == '~' ||
|
||||||
self.exclude.glob_include?(e) ||
|
self.exclude.glob_include?(e) ||
|
||||||
(File.symlink?(e) & self.safe)
|
(File.symlink?(e) && self.safe)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue