From 46f9ba5d8c295454381655e6ec02ad3cf8bd79db Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 6 Mar 2026 02:18:40 +0900 Subject: style: switch from tab to space indentation in frontend and worker/php Update biome.json indentStyle from "tab" to "space" and reformat all files in both workspaces. Co-Authored-By: Claude Opus 4.6 --- worker/php/exec.mjs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'worker/php/exec.mjs') diff --git a/worker/php/exec.mjs b/worker/php/exec.mjs index 7403dfc..f1cb361 100644 --- a/worker/php/exec.mjs +++ b/worker/php/exec.mjs @@ -2,22 +2,22 @@ import { buildResult, createIOCallbacks, preprocessCode } from "./lib.mjs"; import PHPWasm from "./php-wasm.js"; process.once("message", async ({ code: originalCode, input }) => { - const code = preprocessCode(originalCode); - const io = createIOCallbacks(input); + const code = preprocessCode(originalCode); + const io = createIOCallbacks(input); - const { ccall } = await PHPWasm({ - stdin: io.stdin, - stdout: io.stdout, - stderr: io.stderr, - }); + const { ccall } = await PHPWasm({ + stdin: io.stdin, + stdout: io.stdout, + stderr: io.stderr, + }); - let err; - let result; - try { - result = ccall("php_wasm_run", "number", ["string"], [code]); - } catch (e) { - err = e; - } + let err; + let result; + try { + result = ccall("php_wasm_run", "number", ["string"], [code]); + } catch (e) { + err = e; + } - process.send(buildResult(err, result, io.getStdout, io.getStderr)); + process.send(buildResult(err, result, io.getStdout, io.getStderr)); }); -- cgit v1.3.1