[Pkg-javascript-commits] [node-detective] 93/119: move escodegen require

Bastien Roucariès rouca at moszumanska.debian.org
Wed Sep 6 09:44:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-detective.

commit 9a25400535994d26cc2aaeeab2fe6896c6bca7b8
Author: Andres Suarez <zertosh at gmail.com>
Date:   Sat May 23 20:55:14 2015 -0400

    move escodegen require
    
    it's easy to miss down there
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index d7c1aa5..ea38e27 100644
--- a/index.js
+++ b/index.js
@@ -1,4 +1,5 @@
 var aparse = require('acorn').parse;
+var escodegen = require('escodegen');
 var defined = require('defined');
 
 var requireRe = /\brequire\b/;
@@ -16,7 +17,6 @@ function parse (src, opts) {
         allowHashBang: defined(opts.allowHashBang, true)
     });
 }
-var escodegen = require('escodegen');
 
 var traverse = function (node, cb) {
     if (Array.isArray(node)) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-detective.git



More information about the Pkg-javascript-commits mailing list