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

Doesn't handle var statements with multiple declarations

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

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

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

However, this works:

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

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