Skip to content

Commit

Permalink
Clean lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-pozetroninc committed Aug 14, 2023
1 parent 811fa95 commit 9071175
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/typescript/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,14 @@ function validate_program_inputs() {

function validate_chip_support() {
// Check if chip contains "C3" or "S3"
if (chip.includes('C3') || chip.includes('S3')){
alert("Unsupported Chip. Flashing may or may not work.")
};
if (chip.includes("C3") || chip.includes("S3")) {
alert("Unsupported Chip. Flashing may or may not work.");
}
}

programButton.onclick = async () => {
const alertMsg = document.getElementById("alertmsg");
const err = validate_program_inputs()
const err = validate_program_inputs();
validate_chip_support();

if (err != "success") {
Expand Down

0 comments on commit 9071175

Please sign in to comment.