mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 20:46:26 +02:00
Fix versions
This commit is contained in:
parent
11b2520189
commit
218fe8f023
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const versions = execFileSync(__dirname + '/../../lxc/versions')
|
|||
.toString()
|
||||
.toLowerCase()
|
||||
.split('---')
|
||||
.map(section => section.split('\n'))
|
||||
.map(section => section.trim().split('\n'))
|
||||
.filter(section => section.length >= 2);
|
||||
|
||||
function getVersion(language) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue