diff --git a/lib/sources/Source.js b/lib/sources/Source.js index 3154cc5..604598b 100644 --- a/lib/sources/Source.js +++ b/lib/sources/Source.js @@ -121,6 +121,9 @@ Source.prototype.convertIntegrityStringToNixHash = function(integrity) { * @see NixASTNode#toNixAST */ Source.prototype.toNixAST = function() { + if(!this.config.name){ + console.log("name is missing:", this.config); + } return { name: this.config.name.replace("@", "_at_").replace("/", "_slash_"), // Escape characters from scoped package names that aren't allowed packageName: this.config.name,