mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Use resourcePath on PackageManager
This commit is contained in:
@@ -27,7 +27,7 @@ class Package
|
||||
@stylesheetsDir: 'stylesheets'
|
||||
|
||||
@isBundledPackagePath: (packagePath) ->
|
||||
@resourcePathWithTrailingSlash ?= "#{atom.getLoadSettings().resourcePath}#{path.sep}"
|
||||
@resourcePathWithTrailingSlash ?= "#{atom.packages.resourcePath}#{path.sep}"
|
||||
packagePath?.startsWith(@resourcePathWithTrailingSlash)
|
||||
|
||||
@loadMetadata: (packagePath, ignoreErrors=false) ->
|
||||
|
||||
Reference in New Issue
Block a user