Skip to content

Commit affef22

Browse files
committed
fix formatting
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 94ed1fb commit affef22

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/js-host-api/examples/mcp-server/server.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ const HEAP_SIZE_BYTES =
107107
/** Guest scratch size in bytes. Override with HYPERLIGHT_SCRATCH_SIZE_MB (megabytes).
108108
* Maps to setScratchSize() on the SandboxBuilder API. */
109109
const SCRATCH_SIZE_BYTES =
110-
Math.min(parsePositiveInt(process.env.HYPERLIGHT_SCRATCH_SIZE_MB, DEFAULT_SCRATCH_SIZE_MB), MAX_MIB) *
110+
Math.min(
111+
parsePositiveInt(process.env.HYPERLIGHT_SCRATCH_SIZE_MB, DEFAULT_SCRATCH_SIZE_MB),
112+
MAX_MIB
113+
) *
111114
1024 *
112115
1024;
113116

0 commit comments

Comments
 (0)