Commit 75fe1339 authored by Michael Droettboom's avatar Michael Droettboom Committed by GitHub

Merge pull request #221 from mdboom/do-nothing-if-no-packages-to-install

Do nothing if no packages to load
parents 2b2f1de1 f45cb918
......@@ -138,6 +138,7 @@ var languagePluginLoader = new Promise((resolve, reject) => {
let promise = new Promise((resolve, reject) => {
if (Object.keys(toLoad).length === 0) {
resolve('No new packages to load');
return;
}
const packageList = Array.from(Object.keys(toLoad)).join(', ');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment