You can just remove the 'noble' module, or use the --no-ble option.
getPorts needs to be called for each enabled connection type though, because the tool has to compare the port names with what's returned to figure out which port is to be connected to.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Looks like you asked this on GitHub as well? https://github.com/espruino/EspruinoTools/issues/126
As I mentioned on GitHub: