use Promise.resolve instead of promiseNextTick function
use Promise.resolve instead of promiseNextTick function

xcv58/atom-autohide-tree-view,modulexcite/atom-autohide-tree-view,olmokramer/atom-autohide-tree-view