diff --git a/platformio/builder/tools/piolib.py b/platformio/builder/tools/piolib.py index ea33459274..bdebf6ab97 100644 --- a/platformio/builder/tools/piolib.py +++ b/platformio/builder/tools/piolib.py @@ -196,7 +196,7 @@ def src_dir(self): d = os.path.join(self.path, name) if os.path.isdir(d): return d - return None + return self.path def get_include_dirs(self): items = []