Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function(f) { return elmCompiler.findAllDependencies(f) }
))
.then(function() {
if (!options.cache || cachedDependencies.length === 0) {
return elmCompiler.findAllDependencies(input).then(addDependencies.bind(this));
}
else {
return null;
}
}.bind(this));