Use path.basename() instead of fsUtils.base()

This commit is contained in:
Kevin Sawicki
2013-05-21 13:49:23 -07:00
parent 0c85b40789
commit ff1f9b98d2

View File

@@ -1,4 +1,4 @@
fsUtils = require 'fs-utils'
{basename} = require 'path'
### Internal ###
module.exports =
@@ -21,4 +21,4 @@ class Package
path: null
constructor: (@path) ->
@name = fsUtils.base(@path)
@name = basename(@path)