Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
noname001 authored Jun 18, 2019
1 parent 1e6272b commit 579e232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var languages = require('./languages');

function translate(text, opts, gotopts) {
opts = opts || {};

gotopts = gotopts || {};
var e;
[opts.from, opts.to].forEach(function (lang) {
if (lang && !languages.isSupported(lang)) {
Expand Down

0 comments on commit 579e232

Please sign in to comment.