Fix initialization without HID
This commit is contained in:
parent
c20cfab069
commit
86011827dc
@ -36,6 +36,10 @@ namespace pxt.editor {
|
|||||||
noHID = true
|
noHID = true
|
||||||
return Promise.reject(err)
|
return Promise.reject(err)
|
||||||
})
|
})
|
||||||
|
else {
|
||||||
|
noHID = true
|
||||||
|
initPromise = Promise.reject(new Error("no HID"))
|
||||||
|
}
|
||||||
return initPromise
|
return initPromise
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user