Code coverage report for lib/util/rmExt.js

Statements: 100% (5 / 5)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (5 / 5)      Ignored: none     

All files » lib/util/ » rmExt.js
1 2 3 4 5 6 7 81 1   1 532 532    
var path = require('path');
var fixPathSep = require('./fixPathSep');
 
module.exports = function(str) {
  var result = path.join(path.dirname(str), path.basename(str, path.extname(str)));
  return fixPathSep(result);
}