Install apm into node_modules

settings-views launches apm via a NodeBufferedProcess so it still needs to
be available built against Atom's headers.

The version in apm/ is just for running via the CLI directly and is compiled
against node's headers.
This commit is contained in:
Kevin Sawicki
2013-12-17 19:25:44 -08:00
parent 82fbba4547
commit cef7577826
2 changed files with 3 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ class PackageManager
# Public: Get the path to the apm command
getApmPath: ->
@apmPath ?= require.resolve('../apm/node_modules/atom-package-manager/bin/apm')
@apmPath ?= require.resolve('atom-package-manager/bin/apm')
# Public: Get the paths being used to look for packages.
#