From dd4198182b471f75a41ea7adb64499e885e874c9 Mon Sep 17 00:00:00 2001 From: KillariDev Date: Wed, 29 Oct 2025 09:52:19 +0200 Subject: [PATCH] spaces to tabs --- .../ts/testsuite/simulator/utils/config.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/solidity/ts/testsuite/simulator/utils/config.ts b/solidity/ts/testsuite/simulator/utils/config.ts index a13842d..1a9119d 100644 --- a/solidity/ts/testsuite/simulator/utils/config.ts +++ b/solidity/ts/testsuite/simulator/utils/config.ts @@ -3,7 +3,7 @@ import * as funtypes from 'funtypes' type Config = funtypes.Static const Config = funtypes.ReadonlyObject({ - testRPCEndpoint: funtypes.String.withConstraint(URL.canParse) + testRPCEndpoint: funtypes.String.withConstraint(URL.canParse) }) const UserConfig = funtypes.Partial(Config.fields) @@ -15,14 +15,14 @@ export const defaultConfig = Config.parse(JSON.parse(await fs.readFile(defaultCo export const userConfig = (await fileExists(userConfigLocation)) ? UserConfig.parse(JSON.parse(await fs.readFile(userConfigLocation, 'utf8'))) : {} export function getConfig() { - return { ...defaultConfig, ...userConfig } + return { ...defaultConfig, ...userConfig } } async function fileExists(path: string): Promise { - try { - await fs.access(path, fs.constants.F_OK) - return true - } catch (error) { - return false - } -} \ No newline at end of file + try { + await fs.access(path, fs.constants.F_OK) + return true + } catch (error) { + return false + } +}