Skip to content

Commit

Permalink
Fix lint after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gcampax committed Sep 25, 2020
1 parent c99e65b commit b959dfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/i18n/american-english.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class EnglishLanguagePack extends DefaultLanguagePack {

toAgentSideUtterance(phrase) {
return phrase.replace(/\b(i|me|my|mine)\b/g, (what) => {
switch(what) {
switch (what) {
case 'me':
case 'i':
return 'you';
Expand Down
2 changes: 1 addition & 1 deletion lib/i18n/italian.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class ItalianLanguagePack extends DefaultLanguagePack {

toAgentSideUtterance(phrase) {
return phrase.replace(/\b(io|me|mi[oa]|miei?)\b/g, (what) => {
switch(what) {
switch (what) {
case 'io':
return 'tu';
case 'me':
Expand Down

0 comments on commit b959dfc

Please sign in to comment.