mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 21:33:36 +00:00
autofix no-var
This commit is contained in:
@@ -26,7 +26,7 @@ const Punycode = {
|
||||
* @returns {string}
|
||||
*/
|
||||
runToAscii: function(input, args) {
|
||||
var idn = args[0];
|
||||
const idn = args[0];
|
||||
|
||||
if (idn) {
|
||||
return punycode.toASCII(input);
|
||||
@@ -44,7 +44,7 @@ const Punycode = {
|
||||
* @returns {string}
|
||||
*/
|
||||
runToUnicode: function(input, args) {
|
||||
var idn = args[0];
|
||||
const idn = args[0];
|
||||
|
||||
if (idn) {
|
||||
return punycode.toUnicode(input);
|
||||
|
||||
Reference in New Issue
Block a user