Skip to content

Commit

Permalink
Save
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Tang <[email protected]>
  • Loading branch information
JeffreyDallas committed Dec 16, 2024
1 parent 81d89c4 commit ca46661
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/create-topic.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ async function main() {
console.log('Message received successfully');
} else {
console.error('Message received but not match');
// eslint-disable-next-line n/no-process-exit

Check warning on line 116 in examples/create-topic.js

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

examples/create-topic.js#L116

Definition for rule 'n/no-process-exit' was not found.
process.exit(1);
}
} catch (error) {
console.error(error);
Expand Down

0 comments on commit ca46661

Please sign in to comment.