Skip to content

Commit

Permalink
Merge branch 'master' into feature/cli-installer-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomontero committed May 9, 2024
2 parents 83bb991 + 2aa0897 commit c2b8b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cmd/serial.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ const cmd = path.basename(process.argv[1]);
const arrow = chalk.green('>');
const timeoutError = 'Serial timed out';

const availability = (asset, availableAssets) => availableAssets.some(availableAsset => availableAsset.hash === asset.hash);
const availability = (asset, availableAssets) => availableAssets.some(
availableAsset => availableAsset.hash === asset.hash && availableAsset.name === asset.name
);

const SERIAL_PORT_DEFAULTS = {
baudRate: 9600,
Expand Down

0 comments on commit c2b8b85

Please sign in to comment.