Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 2f2e844

Browse files
committed
style: do not make the code much more complex by making ESLint happy
1 parent d12243b commit 2f2e844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/smoke-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function uncommentPythonCodeBlocks(content) {
2222
.split(/\r?\n/)
2323
.map((line) => {
2424
if (insidePythonCodeBlock) {
25-
line = line.replace(/^ {6}#/, ' ');
25+
line = line.replace(/^ {6}#/, ' '); // eslint-disable-line no-param-reassign
2626
quotationMarksSeen += /^ {6}"""/.test(line) ? 1 : 0;
2727
insidePythonCodeBlock = quotationMarksSeen < 2;
2828
} else {

0 commit comments

Comments
 (0)