summaryrefslogtreecommitdiff
path: root/buildstream/plugins/sources/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/plugins/sources/local.py')
-rw-r--r--buildstream/plugins/sources/local.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/plugins/sources/local.py b/buildstream/plugins/sources/local.py
index fef0d693a..9f02b0ed4 100644
--- a/buildstream/plugins/sources/local.py
+++ b/buildstream/plugins/sources/local.py
@@ -44,6 +44,8 @@ class LocalSource(Source):
def configure(self, node):
project = self.get_project()
+ self.node_validate(node, ['path'] + Source.COMMON_CONFIG_KEYS)
+
self.path = self.node_get_member(node, str, 'path')
self.fullpath = os.path.join(project.directory, self.path)