Skip to content

Fix handling of input of type FormData for the Fetch client #1504

Fix handling of input of type FormData for the Fetch client

Fix handling of input of type FormData for the Fetch client #1504

Triggered via pull request December 11, 2024 15:42
Status Failure
Total duration 1m 3s
Artifacts

main.yml

on: pull_request
build-and-test
51s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
tests/extended.test.ts > extended > 'additional-properties': src/code-formatter.ts#L38
SyntaxError: ',' expected. (137:9) 135 | }, new FormData()); 136 | } > 137 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 138 | } 139 | 140 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 135 | }, new FormData()); 136 | } > 137 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 138 | } 139 | 140 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 137, column: 9 }, end: { line: 137, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 137, offset: 4538 }, start: { column: 8, line: 137, offset: 4538 } }, index: 4538, lineNumber: 137, column: 8 }
tests/extended.test.ts > extended > 'additional-properties2': src/code-formatter.ts#L38
SyntaxError: ',' expected. (134:9) 132 | }, new FormData()); 133 | } > 134 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 135 | } 136 | 137 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 132 | }, new FormData()); 133 | } > 134 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 135 | } 136 | 137 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 134, column: 9 }, end: { line: 134, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 134, offset: 4536 }, start: { column: 8, line: 134, offset: 4536 } }, index: 4536, lineNumber: 134, column: 8 }
tests/extended.test.ts > extended > 'allof-example': src/code-formatter.ts#L38
SyntaxError: ',' expected. (173:9) 171 | }, new FormData()); 172 | } > 173 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 174 | } 175 | 176 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 171 | }, new FormData()); 172 | } > 173 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 174 | } 175 | 176 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 173, column: 9 }, end: { line: 173, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 173, offset: 5219 }, start: { column: 8, line: 173, offset: 5219 } }, index: 5219, lineNumber: 173, column: 8 }
tests/extended.test.ts > extended > 'anyof-example': src/code-formatter.ts#L38
SyntaxError: ',' expected. (165:9) 163 | }, new FormData()); 164 | } > 165 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 166 | } 167 | 168 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 163 | }, new FormData()); 164 | } > 165 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 166 | } 167 | 168 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 165, column: 9 }, end: { line: 165, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 165, offset: 5138 }, start: { column: 8, line: 165, offset: 5138 } }, index: 5138, lineNumber: 165, column: 8 }
tests/extended.test.ts > extended > 'api-with-examples': src/code-formatter.ts#L38
SyntaxError: ',' expected. (151:9) 149 | }, new FormData()); 150 | } > 151 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 152 | } 153 | 154 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 149 | }, new FormData()); 150 | } > 151 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 152 | } 153 | 154 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 151, column: 9 }, end: { line: 151, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 151, offset: 4896 }, start: { column: 8, line: 151, offset: 4896 } }, index: 4896, lineNumber: 151, column: 8 }
tests/extended.test.ts > extended > 'callback-example': src/code-formatter.ts#L38
SyntaxError: ',' expected. (174:9) 172 | }, new FormData()); 173 | } > 174 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 175 | } 176 | 177 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 172 | }, new FormData()); 173 | } > 174 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 175 | } 176 | 177 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 174, column: 9 }, end: { line: 174, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 174, offset: 5472 }, start: { column: 8, line: 174, offset: 5472 } }, index: 5472, lineNumber: 174, column: 8 }
tests/extended.test.ts > extended > 'components-responses': src/code-formatter.ts#L38
SyntaxError: ',' expected. (154:9) 152 | }, new FormData()); 153 | } > 154 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 155 | } 156 | 157 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 152 | }, new FormData()); 153 | } > 154 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 155 | } 156 | 157 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 154, column: 9 }, end: { line: 154, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 154, offset: 4807 }, start: { column: 8, line: 154, offset: 4807 } }, index: 4807, lineNumber: 154, column: 8 }
tests/extended.test.ts > extended > 'explode-param-3': src/code-formatter.ts#L38
SyntaxError: ',' expected. (200:9) 198 | }, new FormData()); 199 | } > 200 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 201 | } 202 | 203 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 198 | }, new FormData()); 199 | } > 200 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 201 | } 202 | 203 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 200, column: 9 }, end: { line: 200, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 200, offset: 5626 }, start: { column: 8, line: 200, offset: 5626 } }, index: 5626, lineNumber: 200, column: 8 }
tests/extended.test.ts > extended > 'full-swagger-scheme': src/code-formatter.ts#L38
SyntaxError: ',' expected. (36343:9) 36341 | }, new FormData()); 36342 | } > 36343 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 36344 | } 36345 | 36346 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 36341 | }, new FormData()); 36342 | } > 36343 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 36344 | } 36345 | 36346 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 36343, column: 9 }, end: { line: 36343, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 36343, offset: 1298801 }, start: { column: 8, line: 36343, offset: 1298801 } }, index: 1298801, lineNumber: 36343, column: 8 }
tests/extended.test.ts > extended > 'link-example': src/code-formatter.ts#L38
SyntaxError: ',' expected. (285:9) 283 | }, new FormData()); 284 | } > 285 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 286 | } 287 | 288 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { 283 | }, new FormData()); 284 | } > 285 | [ContentType.UrlEncoded]: (input: any) => this.toQueryString(input), | ^ 286 | } 287 | 288 | protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams { ❯ _4 node_modules/prettier/plugins/typescript.mjs:17:70560 ❯ N4 node_modules/prettier/plugins/typescript.mjs:20:955 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1477 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ❯ formatWithCursor node_modules/prettier/index.mjs:20598:14 ❯ Module.format2 node_modules/prettier/index.mjs:22002:25 ❯ CodeFormatter.prettierFormat src/code-formatter.ts:38:23 ❯ CodeFormatter.formatCode src/code-formatter.ts:53:14 ❯ CodeGenProcess.createOutputFileInfo src/code-gen-process.ts:532:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { start: { line: 285, column: 9 }, end: { line: 285, column: 9 } } } Caused by: Caused by: $f: ',' expected. ❯ ed node_modules/prettier/plugins/typescript.mjs:17:8588 ❯ ad node_modules/prettier/plugins/typescript.mjs:17:10524 ❯ Xh node_modules/prettier/plugins/typescript.mjs:17:65505 ❯ a4 node_modules/prettier/plugins/typescript.mjs:17:70421 ❯ l0 node_modules/prettier/plugins/typescript.mjs:17:70163 ❯ node_modules/prettier/plugins/typescript.mjs:20:1441 ❯ s4 node_modules/prettier/plugins/typescript.mjs:17:70714 ❯ Object.M4 [as parse] node_modules/prettier/plugins/typescript.mjs:20:1425 ❯ parse5 node_modules/prettier/index.mjs:19838:24 ❯ coreFormat node_modules/prettier/index.mjs:20386:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { fileName: 'estree.ts', location: { end: { column: 8, line: 285, offset: 7802 }, start: { column: 8, line: 285, offset: 7802 } }, index: 7802, lineNumber: 285, column: 8 }
build-and-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636