mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 15:13:04 -04:00
fix edge case with translate
This commit is contained in:
parent
1d81ee14ca
commit
83a4e77166
2 changed files with 5 additions and 2 deletions
|
@ -60,5 +60,5 @@ module.exports.getLanguagesFromAny = function (prompt) {
|
|||
};
|
||||
|
||||
module.exports.isSupported = function (desiredLang) {
|
||||
return Boolean(getCode(desiredLang));
|
||||
return Boolean(module.exports.getCodeFromAny(desiredLang));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue