diff --git a/index.js b/index.js index a2aa337..674e4a3 100644 --- a/index.js +++ b/index.js @@ -108,6 +108,7 @@ function precinct(content, options = {}) { dependencies = theDetective(ast, { ...options[type], filename: options.filename, + treePath: options.treePath, }); } else { debug('no detective found for: %s', type);