Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a360d6

Browse filesBrowse files
Trottevanlucas
authored andcommitted
tools: remove unused variable
`oldDirs` is assigned but never used. Remove it. (This was missed by the linter in previous versions of ESLint but is flagged by the current version. Updating the linter is contingent on this change or some similar remedy landing.) PR-URL: #7594 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
1 parent 9e0cba0 commit 1a360d6
Copy full SHA for 1a360d6

File tree

Expand file treeCollapse file tree

1 file changed

+0
-7
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-7
lines changed
Open diff view settings
Collapse file

‎tools/doc/addon-verify.js‎

Copy file name to clipboardExpand all lines: tools/doc/addon-verify.js
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ let id = 0;
1717
// Just to make sure that all examples will be processed
1818
tokens.push({ type: 'heading' });
1919

20-
var oldDirs = fs.readdirSync(verifyDir);
21-
oldDirs = oldDirs.filter(function(dir) {
22-
return /^\d{2}_/.test(dir);
23-
}).map(function(dir) {
24-
return path.resolve(verifyDir, dir);
25-
});
26-
2720
for (var i = 0; i < tokens.length; i++) {
2821
var token = tokens[i];
2922
if (token.type === 'heading' && token.text) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.