Fix initialization without HID
This commit is contained in:
parent
c20cfab069
commit
86011827dc
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user