diff --git a/tabs/firmware_flasher.js b/tabs/firmware_flasher.js old mode 100755 new mode 100644 index f2bb2e16..cfe34d1f --- a/tabs/firmware_flasher.js +++ b/tabs/firmware_flasher.js @@ -43,6 +43,9 @@ TABS.firmware_flasher.initialize = function (callback) { var asset = assets[assetIndex]; var targetFromFilenameExpression = /.*_(.*)\.(.*)/; var match = targetFromFilenameExpression.exec(asset.name); + if (!match) { + continue; + } var target = match[1]; var format = match[2];