mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 15:53:30 +00:00
autofix no-var
This commit is contained in:
@@ -17,7 +17,7 @@ const OS = {
|
||||
* @returns {string}
|
||||
*/
|
||||
runParseUnixPerms: function(input, args) {
|
||||
var perms = {
|
||||
let perms = {
|
||||
d : false, // directory
|
||||
sl : false, // symbolic link
|
||||
np : false, // named pipe
|
||||
@@ -202,7 +202,7 @@ const OS = {
|
||||
* @returns {string}
|
||||
*/
|
||||
_permsToStr: function(perms) {
|
||||
var str = "",
|
||||
let str = "",
|
||||
type = "-";
|
||||
|
||||
if (perms.d) type = "d";
|
||||
@@ -263,7 +263,7 @@ const OS = {
|
||||
* @returns {string}
|
||||
*/
|
||||
_permsToOctal: function(perms) {
|
||||
var d = 0,
|
||||
let d = 0,
|
||||
u = 0,
|
||||
g = 0,
|
||||
o = 0;
|
||||
|
||||
Reference in New Issue
Block a user