Skip to content

Commit

Permalink
Remove Rust from ignored directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad-A0 authored Aug 22, 2022
1 parent 8f707f2 commit 4b80a56
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/updateCompletionTable.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
const { readdirSync } = require('fs');

const IGNORE_DIRS = ['.github', '.git'];
const PREPEND_PATH = process.argv[2] || './';
const FOLDER_TO_LANG = {
javascript: 'JS',
typescript: 'TS',
csharp: 'C#',
c: 'C',
go: 'GO',
java: 'Java',
python: 'Python',
ruby: 'Ruby',
rust: 'Rust',
scala: 'Scala',
swift: 'Swift',
cpp: 'C++',
kotlin: 'Kotlin'
};

const PROBLEM_LISTS = {
'NeetCode 150': [
['Contains Duplicate', '217'],
Expand Down Expand Up @@ -466,23 +484,6 @@ const URLS = {
};
delete URLS['Blind 75'];

const IGNORE_DIRS = ['.github', 'rust', '.git'];
const PREPEND_PATH = process.argv[2] || './';
const FOLDER_TO_LANG = {
javascript: 'JS',
typescript: 'TS',
csharp: 'C#',
c: 'C',
go: 'GO',
java: 'Java',
python: 'Python',
ruby: 'Ruby',
rust: 'Rust',
scala: 'Scala',
swift: 'Swift',
cpp: 'C++',
kotlin: 'Kotlin'
};

const getDirectories = (source) =>
readdirSync(source, { withFileTypes: true })
Expand Down

0 comments on commit 4b80a56

Please sign in to comment.