Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 6ba8ea1

Browse files
author
Akim Mamedov
committed
Small formatting fixes
1 parent 9c284d9 commit 6ba8ea1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/core/aqua-wrapper/src/generate/function.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
*/
1616

1717
import { AquaFunction } from '@fluencelabs/aqua-api/aqua-api.js';
18-
import { capitalize, getFuncArgs, recursiveRenameLaquaProps } from '../utils.js';
19-
import { genTypeName } from '../common.js';
20-
import { CLIENT } from '../constants.js';
18+
import { recursiveRenameLaquaProps } from '../utils.js';
2119
import { TypeGenerator } from './interfaces.js';
2220

2321
export class FunctionGenerator {
@@ -32,15 +30,15 @@ export class FunctionGenerator {
3230
private generateFunction(func: AquaFunction) {
3331
const scriptConstName = func.funcDef.functionName + '_script';
3432
return `export const ${scriptConstName} = \`
35-
${func.script}\`
33+
${func.script}\`;
3634
3735
${this.typeGenerator.funcType(func)}
3836
export function ${func.funcDef.functionName}(${this.typeGenerator.type('...args', 'any[]')}) {
3937
return callFunction$$(
4038
args,
4139
${JSON.stringify(recursiveRenameLaquaProps(func.funcDef), null, 4)},
4240
${scriptConstName}
43-
)
41+
);
4442
}`
4543
}
4644
}

0 commit comments

Comments
 (0)