diff --git a/data/projects/nci/config.yaml b/data/projects/nci/config.yaml index 5bc71cf..a784906 100644 --- a/data/projects/nci/config.yaml +++ b/data/projects/nci/config.yaml @@ -1,6 +1,4 @@ -name: nci - # still cloning fake repo, coz no git support scm: type: mercurial diff --git a/data/projects/project1/config.yaml b/data/projects/project1/config.yaml index 181d644..8b81ab9 100644 --- a/data/projects/project1/config.yaml +++ b/data/projects/project1/config.yaml @@ -1,6 +1,4 @@ -name: project1 - scm: type: mercurial repository: ./test/repos/mercurial diff --git a/data/projects/project2/config.json b/data/projects/project2/config.json index 6c91244..a79eab3 100644 --- a/data/projects/project2/config.json +++ b/data/projects/project2/config.json @@ -1,5 +1,4 @@ { - "name": "project2", "scm": { "type": "mercurial", "repository": "./test/repos/mercurial", diff --git a/lib/project.js b/lib/project.js index 897f233..7cd58ed 100644 --- a/lib/project.js +++ b/lib/project.js @@ -31,6 +31,7 @@ exports.load = function(baseDir, name, callback) { exports.validateConfig(config, this.slot()); }, function(err, config) { + config.name = name; config.dir = dir; this.pass(config); },