Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Fix error when running apm in packages
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Apr 3, 2015
1 parent 33d5a2b commit 6910c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/package-manager.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class PackageManager

commandName = 'apm'
commandName += '.cmd' if process.platform is 'win32'
apmRoot = path.resolve(__dirname, '..', '..', 'apm')
apmRoot = path.join(process.resourcesPath, 'apm')
@apmPath = path.join(apmRoot, 'bin', commandName)
unless fs.isFileSync(@apmPath)
@apmPath = path.join(apmRoot, 'node_modules', 'atom-package-manager', 'bin', commandName)
Expand Down

0 comments on commit 6910c81

Please sign in to comment.