mirror of
https://github.com/gchq/CyberChef
synced 2025-12-21 10:43:18 +00:00
Added eslint space-before-blocks rule
This commit is contained in:
@@ -79,7 +79,7 @@ class SwapEndianness extends Operation {
|
||||
const word = data.slice(i, i + wordLength);
|
||||
|
||||
// Pad word if too short
|
||||
if (padIncompleteWords && word.length < wordLength){
|
||||
if (padIncompleteWords && word.length < wordLength) {
|
||||
for (j = word.length; j < wordLength; j++) {
|
||||
word.push(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user