Skip to content

Commit

Permalink
remove an unnecessary semicolon caught by the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rpendleton committed Jul 9, 2024
1 parent 9b699a3 commit c2c8d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/configs/load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const parseConfigFile = (content: string): ConfigModel => {
throw new Error(`Invalid output mode: ${output}. Valid modes are: ${VALID_OUTPUT_MODES.join(', ')}`)
}

const protocol = config.mqtt?.protocol;
const protocol = config.mqtt?.protocol
if (protocol && !VALID_PROTOCOLS.includes(protocol)) {
throw new Error(`Invalid protocol: ${protocol}. Valid protocols are: ${VALID_PROTOCOLS.join(', ')}`)
}
Expand Down

0 comments on commit c2c8d14

Please sign in to comment.