From 7a96c2484728fbbe6e188e55b499c0fc45947268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Mon, 20 Mar 2023 17:15:27 -0700 Subject: [PATCH] Remove unused --- src/check-i18n-variables | 2 -- src/helpers.js | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/src/check-i18n-variables b/src/check-i18n-variables index edfb13a..14de2ff 100755 --- a/src/check-i18n-variables +++ b/src/check-i18n-variables @@ -18,8 +18,6 @@ const {getFiles, filterJsFiles, supportedLngs} = require('./helpers.js') const projects = process.argv.slice(2) -console.log(projects) - const translationKeysWithKnownVariablesInProject = async project => { const files = await getFiles(project) const jsFiles = files.filter(filterJsFiles) diff --git a/src/helpers.js b/src/helpers.js index f0982c5..8a3a46a 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -29,19 +29,6 @@ const filterJsFiles = f => module.exports.filterJsFiles = filterJsFiles -const projects = [ - 'core', - 'student-materials', - 'educator-materials', - 'entities', - 'school', - 'student', - 'console', - 'classroom' -] - -module.exports.projects = projects - const supportedLngs = ['es', 'en', 'en-GB'] module.exports.supportedLngs = supportedLngs