Skip to content

Commit

Permalink
chore: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ert78gb committed Dec 14, 2024
1 parent f668083 commit 84a5e17
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/usb/factory-update-uhk60.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,19 @@ const devicesOptions = getDevicesOptions(DEVICES);
});
const rightFirmwarePath = getDeviceFirmwarePath(uhkDeviceProduct, packageJson);

console.log('Right firmware path', rightFirmwarePath);
if (!fs.existsSync(rightFirmwarePath)) {
console.error('Right firmware path not found!');
process.exit(1);
}


const leftFirmwarePath = getModuleFirmwarePath(LEFT_HALF_MODULE, packageJson);
console.log('Left firmware path', leftFirmwarePath);

if (!fs.existsSync(leftFirmwarePath)) {
console.error('Left firmware path not found!');
process.exit(1);
}

const userConfigPath = getDeviceUserConfigPath(uhkDeviceProduct, packageJson);
console.log('User config path', userConfigPath);
if (!fs.existsSync(userConfigPath)) {
console.error('User configuration path not found!');
process.exit(1);
Expand Down

0 comments on commit 84a5e17

Please sign in to comment.