Fix item mapping logic to correctly handle deleteDebugStick parameter
This commit is contained in:
@@ -25,7 +25,7 @@ var (
|
||||
|
||||
func itemMappingLatest(deleteDebugStick bool) mapping.Item {
|
||||
if deleteDebugStick {
|
||||
return itemMappingLatestWithDebugStick
|
||||
}
|
||||
return itemMappingLatestWithoutDebugStick
|
||||
}
|
||||
return itemMappingLatestWithDebugStick
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user