abe33 / abe33/atom-utils

Doesn't resolve promise if a package has deferred activation

Open
#1 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Description

If a package you're trying to load has `activationEvents` defined in its `package.json`, activation will be deferred and the promise returned from `atom.packages.activatePackage` will never resolve.

I think this can be gotten around by calling `package.activateNow()` instead of activating through the package manager but I'm not sure if it'll work properly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.