mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Use path.basename() instead of fsUtils.base()
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user