From d2c47b4f8743d88d4cc425b0a7829ddd1dbaf22c Mon Sep 17 00:00:00 2001 From: Micheil Smith Date: Tue, 12 Oct 2010 10:06:44 +1100 Subject: [PATCH] Removed deprecated methods from lib/path.js --- lib/path.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/path.js b/lib/path.js index d0b3788b79..d3a2ea698f 100644 --- a/lib/path.js +++ b/lib/path.js @@ -56,9 +56,6 @@ exports.dirname = function (path) { } }; -exports.filename = function () { - throw new Error("path.filename is deprecated. Please use path.basename instead."); -}; exports.basename = function (path, ext) { var f = path.substr(path.lastIndexOf("/") + 1); if (ext && f.substr(-1 * ext.length) === ext) {