Skip to content

Commit 5e1a746

Browse files
committed
Remove obsolete comment
1 parent d773c16 commit 5e1a746

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/ota-lint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
1212
const LINT_TEST_FILEPATH = '../scripts/declarations/lint/index.mocha.js';
1313
const LINT_PATH = path.resolve(__dirname, LINT_TEST_FILEPATH);
1414

15-
// Mocha catches unhandled rejection from the user code and re-emits them to the process (see https://github.com/mochajs/mocha/blob/master/lib/runner.js#L198)
15+
// Mocha catches unhandled rejection from the user code and re-emits them to the process
1616
process.on('unhandledRejection', reason => {
1717
// Re-throw them so that the validation command fails in these cases (for example, if there is a syntax error when parsing JSON declaration files)
1818
throw reason;

bin/ota-validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export async function runMochaTests(mocha, testPath) {
3535
}
3636
}
3737

38-
process.on('unhandledRejection', reason => { // Mocha catches unhandled rejection from the user code and re-emits them to the process (see https://github.com/mochajs/mocha/blob/master/lib/runner.js#L198)
38+
process.on('unhandledRejection', reason => { // Mocha catches unhandled rejection from the user code and re-emits them to the process
3939
throw reason; // Re-throw them so that the validation command fails in these cases (for example, if there is a syntax error when parsing JSON declaration files)
4040
});
4141

0 commit comments

Comments
 (0)