diff --git a/lib/6to5/util.js b/lib/6to5/util.js index b3d838ad0d..499ef4d234 100644 --- a/lib/6to5/util.js +++ b/lib/6to5/util.js @@ -52,11 +52,6 @@ exports.isAbsolute = function (loc) { return false; }; -exports.canCompile = function (filename) { - var ext = path.extname(filename); - return _.contains([".js", ".es6"], ext); -}; - exports.sourceMapToComment = function (map) { var json = JSON.stringify(map); var base64 = new Buffer(json).toString("base64");