fix: correct indentation on codegen
This commit is contained in:
@@ -204,7 +204,9 @@ export const generateCode = (
|
|||||||
// Returns a string if valid, false if not
|
// Returns a string if valid, false if not
|
||||||
new HTTPSnippet({
|
new HTTPSnippet({
|
||||||
...buildHarRequest(req),
|
...buildHarRequest(req),
|
||||||
}).convert(codegenInfo.lang, codegenInfo.mode)
|
}).convert(codegenInfo.lang, codegenInfo.mode, {
|
||||||
|
indent: " ",
|
||||||
|
})
|
||||||
),
|
),
|
||||||
|
|
||||||
// Only allow string output to pass through, else none
|
// Only allow string output to pass through, else none
|
||||||
|
|||||||
Reference in New Issue
Block a user