Don't include os.platform into the firmware update log because os.type makes it practically redundant.

This commit is contained in:
László Monda
2018-05-26 17:13:10 +02:00
parent 1035837b3b
commit 65ea786358

View File

@@ -30,7 +30,7 @@ export class UhkOperations {
}
public async updateRightFirmware(firmwarePath = this.getFirmwarePath()) {
this.logService.debug(`[UhkOperations] Operating system: ${os.platform()} ${os.type()} ${os.release()} ${os.arch()}`);
this.logService.debug(`[UhkOperations] Operating system: ${os.type()} ${os.release()} ${os.arch()}`);
this.logService.debug('[UhkOperations] Start flashing right firmware');
const prefix = [`--usb 0x1d50,0x${EnumerationNameToProductId.bootloader.toString(16)}`];