From e08e468e0237d852d570e7a8c28ce950e68aa1d7 Mon Sep 17 00:00:00 2001 From: CryptoDogg Date: Mon, 23 May 2022 15:00:41 +0900 Subject: [PATCH] lint manually --- lib/agent/positionsCreateWithEth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/agent/positionsCreateWithEth.ts b/lib/agent/positionsCreateWithEth.ts index 7bbdcd6d3..859a7f5ad 100644 --- a/lib/agent/positionsCreateWithEth.ts +++ b/lib/agent/positionsCreateWithEth.ts @@ -22,7 +22,7 @@ export const positionsCreateWithEth: PositionsCreateWithEth = async (options) => create: async () => { const ethAmount = options.ethAmount ? options.ethAmount : (options.devAmount ? await l2.getEstimatedEthForDev(options.devAmount) : 'Neither ethAmount nor devAmount provided') - const _overrides = {overrides: {...{value: ethAmount}, ...options.overrides?.overrides}} + const _overrides = { overrides: { ...{ value: ethAmount }, ...options.overrides?.overrides } } return await l2.swapEthAndStakeDevCaller( options.destination, _overrides