Do not throw err if components folder do not exist.

This commit is contained in:
André Cruz
2013-06-25 21:08:41 +01:00
parent 023a605cad
commit b2b1b1cb47

View File

@@ -555,6 +555,13 @@ Project.prototype._readLinks = function () {
.then(function () {
return decEndpoints;
});
// Ignore if folder does not exist
}, function (err) {
if (err.code !== 'ENOENT') {
throw err;
}
return {};
});
};