Skip to content

Commit 4b80a56

Browse files
authored
Remove Rust from ignored directories
1 parent 8f707f2 commit 4b80a56

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.github/workflows/updateCompletionTable.js

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
const { readdirSync } = require('fs');
22

3+
const IGNORE_DIRS = ['.github', '.git'];
4+
const PREPEND_PATH = process.argv[2] || './';
5+
const FOLDER_TO_LANG = {
6+
javascript: 'JS',
7+
typescript: 'TS',
8+
csharp: 'C#',
9+
c: 'C',
10+
go: 'GO',
11+
java: 'Java',
12+
python: 'Python',
13+
ruby: 'Ruby',
14+
rust: 'Rust',
15+
scala: 'Scala',
16+
swift: 'Swift',
17+
cpp: 'C++',
18+
kotlin: 'Kotlin'
19+
};
20+
321
const PROBLEM_LISTS = {
422
'NeetCode 150': [
523
['Contains Duplicate', '217'],
@@ -466,23 +484,6 @@ const URLS = {
466484
};
467485
delete URLS['Blind 75'];
468486

469-
const IGNORE_DIRS = ['.github', 'rust', '.git'];
470-
const PREPEND_PATH = process.argv[2] || './';
471-
const FOLDER_TO_LANG = {
472-
javascript: 'JS',
473-
typescript: 'TS',
474-
csharp: 'C#',
475-
c: 'C',
476-
go: 'GO',
477-
java: 'Java',
478-
python: 'Python',
479-
ruby: 'Ruby',
480-
rust: 'Rust',
481-
scala: 'Scala',
482-
swift: 'Swift',
483-
cpp: 'C++',
484-
kotlin: 'Kotlin'
485-
};
486487

487488
const getDirectories = (source) =>
488489
readdirSync(source, { withFileTypes: true })

0 commit comments

Comments
 (0)