Skip to content

pmb.deviceinfo: fix sanity check when "device-" is present in codename

Administrator requested to merge alexeymin/fix-deviceinfo-sanity-check into master

replace("device-", "") removed "device-" string from device codename too (not only from directory name part), so sanity check failed. It should only be removed from the start of the string.

Fixes #1842 (closed)

Edited by Administrator

Merge request reports

Loading