mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 17:33:28 +01:00
fix: fixed seq type bug in bruno lang parser
This commit is contained in:
parent
d01cada16c
commit
e513694912
@ -44,7 +44,7 @@ const bruToJson = (fileContents) => {
|
|||||||
const json = {
|
const json = {
|
||||||
type: parsed.type || '',
|
type: parsed.type || '',
|
||||||
name: parsed.name || '',
|
name: parsed.name || '',
|
||||||
seq: parsed.seq || 1,
|
seq: parsed.seq ? Number(parsed.seq) : 1,
|
||||||
request: {
|
request: {
|
||||||
method: parsed.method || '',
|
method: parsed.method || '',
|
||||||
url: parsed.url || '',
|
url: parsed.url || '',
|
||||||
|
Loading…
Reference in New Issue
Block a user