Update firmware flasher to ignore non-matching release files.
parent
a348b5de8e
commit
593538f2d2
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue