abe33 / abe33/atom-utils

Doesn't resolve promise if a package has deferred activation

Đang mở
#1 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
CoffeeScript
Star
8
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.