From d47ab4ee6704079747d1de97ca0351a729e80cfa Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Wed, 1 Oct 2014 11:06:52 +1000 Subject: [PATCH] remove old removeLoc call for templates --- lib/6to5/util.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/6to5/util.js b/lib/6to5/util.js index f0de51ef3a..11164e769e 100644 --- a/lib/6to5/util.js +++ b/lib/6to5/util.js @@ -190,8 +190,6 @@ if (fs.existsSync(templatesCacheLoc)) { var loc = templatesLoc + "/" + name; var code = fs.readFileSync(loc, "utf8"); - var template = exports.parse(loc, code); - exports.removeLoc(template); - exports.templates[key] = template; + exports.templates[key] = exports.parse(loc, code); }); }