fix output
This commit is contained in:
parent
2656b92fce
commit
c662121ad9
|
|
@ -88,12 +88,11 @@ function parseTree(tree: Tree): ts.ObjectLiteralExpression {
|
|||
return ts.createObjectLiteral(properties)
|
||||
}
|
||||
|
||||
const { stdout } = spawnSync('php', [
|
||||
'artisan',
|
||||
'route:list',
|
||||
'--json',
|
||||
'--columns=uri,name',
|
||||
])
|
||||
const { stdout } = spawnSync(
|
||||
'php',
|
||||
['artisan', 'route:list', '--json', '--columns=uri,name'],
|
||||
{ encoding: 'utf-8' },
|
||||
)
|
||||
let routes: Route[] = []
|
||||
try {
|
||||
routes = JSON.parse(stdout)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user