Fix initialization without HID

This commit is contained in:
Michal Moskal 2017-08-07 10:56:21 +02:00
parent c20cfab069
commit 86011827dc

View File

@ -36,6 +36,10 @@ namespace pxt.editor {
noHID = true
return Promise.reject(err)
})
else {
noHID = true
initPromise = Promise.reject(new Error("no HID"))
}
return initPromise
}