static-eval icon indicating copy to clipboard operation
static-eval copied to clipboard

Doesn't handle var statements with declarations but not initializations

Open ben-ng opened this issue 10 years ago • 0 comments

I can't bulkify code that looks like this because static-eval is throwing:

var uninitialized
  , bulk = require('bulk-require')
  , _ = require('lodash')
  , conditions = bulk(__dirname, ['/*'])

Once I initialize the variable in the var statement, i get #10

ben-ng avatar Mar 30 '15 07:03 ben-ng