forked from platypush/platypush
[Extensions UI] Fix hljs.highlight
call to match new API.
This commit is contained in:
parent
7e58044804
commit
2575d6cbc5
1 changed files with 5 additions and 5 deletions
|
@ -86,15 +86,15 @@ export default {
|
||||||
|
|
||||||
highlightedInstallCmd() {
|
highlightedInstallCmd() {
|
||||||
return (
|
return (
|
||||||
this.installCmd ?
|
|
||||||
hljs.highlight(
|
hljs.highlight(
|
||||||
|
this.installCmd ?
|
||||||
this.extension.deps.install_cmd
|
this.extension.deps.install_cmd
|
||||||
.map((cmd) => `$ ${cmd}`)
|
.map((cmd) => `$ ${cmd}`)
|
||||||
.join('\n')
|
.join('\n')
|
||||||
.trim()
|
.trim() :
|
||||||
).value :
|
|
||||||
'# No extra installation steps required',
|
'# No extra installation steps required',
|
||||||
{language: 'bash'}
|
{language: 'bash'}
|
||||||
|
).value
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue