mirror of
https://github.com/gchq/CyberChef
synced 2025-12-13 23:03:16 +00:00
Added eslint space-before-blocks rule
This commit is contained in:
@@ -51,7 +51,7 @@ class UNIXTimestampToWindowsFiletime extends Operation {
|
||||
|
||||
input = new BigNumber(input);
|
||||
|
||||
if (units === "Seconds (s)"){
|
||||
if (units === "Seconds (s)") {
|
||||
input = input.multipliedBy(new BigNumber("10000000"));
|
||||
} else if (units === "Milliseconds (ms)") {
|
||||
input = input.multipliedBy(new BigNumber("10000"));
|
||||
@@ -65,7 +65,7 @@ class UNIXTimestampToWindowsFiletime extends Operation {
|
||||
|
||||
input = input.plus(new BigNumber("116444736000000000"));
|
||||
|
||||
if (format === "Hex"){
|
||||
if (format === "Hex") {
|
||||
return input.toString(16);
|
||||
} else {
|
||||
return input.toFixed();
|
||||
|
||||
Reference in New Issue
Block a user