Disable HID deploy from command line (seems broken; was crashing until my previous checkin)

This commit is contained in:
Michal Moskal 2018-01-05 16:17:20 +00:00
parent 2ebe96e563
commit 7bd6280292

View File

@ -29,7 +29,8 @@ export function initAsync() {
let canHID = false
if (pxt.U.isNodeJS) {
canHID = true
// doesn't seem to work ATM
canHID = false
} else {
const forceHexDownload = /forceHexDownload/i.test(window.location.href);
if (pxt.Cloud.isLocalHost() && pxt.Cloud.localToken && !forceHexDownload)