Commit 291e367c authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Handle no loader in walk function

parent 3da13868
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ def walk_files(start):
	else:
		top = loader.project_root

	if not rules.run_rules(loader.rules, path.relpath(start, top)):
	if loader and not rules.run_rules(loader.rules, path.relpath(start, top)):
		# The target directory is excluded!
		return