diff options
Diffstat (limited to 'node_modules/gulp-util/lib/replaceExtension.js')
-rw-r--r-- | node_modules/gulp-util/lib/replaceExtension.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/node_modules/gulp-util/lib/replaceExtension.js b/node_modules/gulp-util/lib/replaceExtension.js deleted file mode 100644 index 3f76938e4..000000000 --- a/node_modules/gulp-util/lib/replaceExtension.js +++ /dev/null @@ -1,9 +0,0 @@ -var path = require('path'); - -module.exports = function(npath, ext) { - if (typeof npath !== 'string') return npath; - if (npath.length === 0) return npath; - - var nFileName = path.basename(npath, path.extname(npath))+ext; - return path.join(path.dirname(npath), nFileName); -};
\ No newline at end of file |