Skip to content

Commit

Permalink
Fix the error of languages, now the portuguese is running
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiagoNelsi committed Dec 30, 2019
1 parent 4307665 commit 0596278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robots/user-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports.askAndReturnSearchTerm = () => {
}

exports.askAndReturnLanguage = () => {
const languages = ['pt-PT', 'en', 'es-ES']
const languages = ['pt', 'en', 'es']
const languageIndex = readline.keyInSelect(languages, 'Select an option: ')
const languageText = languages[languageIndex]
return languageText
Expand Down

0 comments on commit 0596278

Please sign in to comment.