Skip to content

Commit 11d15f3

Browse files
committed
Lint TS code
1 parent 0b24a09 commit 11d15f3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

compiler/src/transform/schema-to-openapi.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@
1717
* under the License.
1818
*/
1919

20-
import {convert_schema_to_openapi} from 'schema-wasm-lib';
21-
import {argv} from "zx";
22-
import {join} from "path";
23-
import {readFileSync, writeFileSync} from "fs";
20+
import { convert_schema_to_openapi } from 'schema-wasm-lib'
21+
import { argv } from 'zx'
22+
import { join } from 'path'
23+
import { readFileSync, writeFileSync } from 'fs'
2424

2525
const inputPath = argv.input ?? join(__dirname, '..', '..', '..', 'output', 'schema', 'schema.json')
2626
const outputPath = argv.output ?? join(__dirname, '..', '..', '..', 'output', 'openapi', 'elasticsearch-serverless-openapi.json')
2727

2828
const inputText = readFileSync(
29-
inputPath,
30-
{ encoding: 'utf8' }
31-
);
29+
inputPath,
30+
{ encoding: 'utf8' }
31+
)
3232

33-
const output = convert_schema_to_openapi(inputText, "serverless");
33+
const output = convert_schema_to_openapi(inputText, 'serverless')
3434

3535
writeFileSync(
36-
outputPath,
37-
output,
38-
'utf8'
36+
outputPath,
37+
output,
38+
'utf8'
3939
)

0 commit comments

Comments
 (0)