Closed busticated closed 4 years ago
Ouch, the conditions hurt my brain.
haha! yeah, same.
platform_id
is always defined for any device so it should be preferred overproduct_id
ah, nice. that helps - i can drop the else
in that case at least - thanks :pray::+1:
Description
running the
particle flash <my-device> tinker
when<my-device>
is in a product fails with:Failed to flash <device-name>: Cannot read property 'map' of undefined
(ch)How to Test
using a product device, run
particle flash <my-device> tinker
then repeat that command using a non-product device and verify that both devices are flashed appropriatelyCompleteness