chore: consistent call to the newline function (#222)
This commit is contained in:
parent
f3760f7d34
commit
4587f4f7c9
@ -218,7 +218,7 @@ export function generate(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
genHoists(ast.hoists, context)
|
genHoists(ast.hoists, context)
|
||||||
context.newline()
|
newline()
|
||||||
push(`return `)
|
push(`return `)
|
||||||
} else {
|
} else {
|
||||||
// generate import statements for helpers
|
// generate import statements for helpers
|
||||||
@ -226,7 +226,7 @@ export function generate(
|
|||||||
push(`import { ${ast.helpers.map(helper).join(', ')} } from "vue"\n`)
|
push(`import { ${ast.helpers.map(helper).join(', ')} } from "vue"\n`)
|
||||||
}
|
}
|
||||||
genHoists(ast.hoists, context)
|
genHoists(ast.hoists, context)
|
||||||
context.newline()
|
newline()
|
||||||
push(`export default `)
|
push(`export default `)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user