I decided to do this on my 2014 LEAF. Before starting, I checked to make sure the 6145s worked with a 12vDC power adapter I had lying around since I knew I would be modifying them and didn't want to have to deal with warranty issues after I had already done the modifications. The physical modifications all went fine and I got the new fog lights mounted, but when I tried to turn them on, nothing happened. I checked for voltage from the car with a multimeter and got nothing. I checked the fuse for the fog lights and found it to be blown. I replaced it and checked (successfully) for voltage again, but as soon as I connected either LED fog light, the fuse blew immediately. I checked both lights with the power adapter again and now neither one of them works. @Beardedjeff, any ideas? Am I totally screwed now?
EDIT: After doing some more research and testing, I have discovered that the H11 headlight wiring harness I used (https://www.amazon.com/gp/product/B00XP4PP6W
, as recommended somewhere above in the thread) has reverse polarity. The black wire is actually hot and the colored wire is ground. Which brings me to my next point: For anyone else who might want to do this, make ABSOLUTELY TOTALLY 100% SURE that you get the polarity correct. If you don't, you will do like me and fry your $200 foglights. To @Beardedjeff, maybe it would be a good idea to include a blocking diode in the foglights so they won't be destroyed if someone gets the polarity wrong by accident?