 
   isReadmePath: (path) ->
     extension = @extension(path)
-    base = @base(path, extension).toLowerCase()
+    base = Path.basename(path, extension).toLowerCase()
     base is 'readme' and (extension is '' or @isMarkdownExtension(extension))
 
   readPlist: (path) ->

  # extension exists.
  extension: (path) ->
    return '' unless typeof path is 'string'
    match = @base(path).match(/\.[^\.]+$/)
    if match
      match[0]
    else

Module = require 'module'
async = require 'async'
rimraf = require 'rimraf'
Path = require 'path'

module.exports =
  # Make the given path absolute by resolving it against the
