From afffc39c776309460476ac94eb92f5ebbefcf5b5 Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Mon, 15 Apr 2024 14:14:15 +0200 Subject: [PATCH] style: formatting --- packages/nvmedit/src/nvm3/nvm.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/nvmedit/src/nvm3/nvm.ts b/packages/nvmedit/src/nvm3/nvm.ts index 9028d3c7a40b..8646a9e3ad05 100644 --- a/packages/nvmedit/src/nvm3/nvm.ts +++ b/packages/nvmedit/src/nvm3/nvm.ts @@ -216,9 +216,7 @@ export function encodeNVM( // We need to start a new page, if the remaining space is not enough for // the object header plus additional data - if (remainingSpace <= NVM3_OBJ_HEADER_SIZE_LARGE) { - nextPage(); - } + if (remainingSpace <= NVM3_OBJ_HEADER_SIZE_LARGE) nextPage(); fragments = fragmentLargeObject( obj as any,