Always return real package paths
Esse commit está contido em:
@@ -154,7 +154,7 @@ class PackageManager
|
|||||||
#
|
#
|
||||||
# Return a {String} folder path or undefined if it could not be resolved.
|
# Return a {String} folder path or undefined if it could not be resolved.
|
||||||
resolvePackagePath: (name) ->
|
resolvePackagePath: (name) ->
|
||||||
return name if fs.isDirectorySync(name)
|
return fs.absolute(name) if fs.isDirectorySync(name)
|
||||||
|
|
||||||
packagePath = fs.resolve(@packageDirPaths..., name)
|
packagePath = fs.resolve(@packageDirPaths..., name)
|
||||||
return packagePath if fs.isDirectorySync(packagePath)
|
return packagePath if fs.isDirectorySync(packagePath)
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário