Skip to content

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

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 Alexey Min

Merge request reports