Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
then(function(linksHash) {
console.log('Using hash for doc links', linksHash);
return _.extend(require('dgeni/lib/utils/config').load(configPath), {
linksHash: linksHash
});
}).then(function(config) {
generateDocs(config);